Working-With-Mediawiki-Yaron-Koren.Pdf
Total Page:16
File Type:pdf, Size:1020Kb
Working with MediaWiki Yaron Koren 2 Working with MediaWiki by Yaron Koren Published by WikiWorks Press. Copyright ©2012 by Yaron Koren, except where otherwise noted. Chapter 17, “Semantic Forms”, includes significant content from the Semantic Forms homepage (https://www. mediawiki.org/wiki/Extension:Semantic_Forms), available under the Creative Commons BY-SA 3.0 license. All rights reserved. Library of Congress Control Number: 2012952489 ISBN: 978-0615720302 First edition, second printing: 2014 Ordering information for this book can be found at: http://workingwithmediawiki.com All printing of this book is handled by CreateSpace (https://createspace.com), a subsidiary of Amazon.com. Cover design by Grace Cheong (http://gracecheong.com). Contents 1 About MediaWiki 1 History of MediaWiki . 1 Community and support . 3 Available hosts . 4 2 Setting up MediaWiki 7 The MediaWiki environment . 7 Download . 7 Installing . 8 Setting the logo . 8 Changing the URL structure . 9 Updating MediaWiki . 9 3 Editing in MediaWiki 11 Tabs........................................................... 11 Creating and editing pages . 12 Page history . 14 Page diffs . 15 Undoing . 16 Blocking and rollbacks . 17 Deleting revisions . 17 Moving pages . 18 Deleting pages . 19 Edit conflicts . 20 4 MediaWiki syntax 21 Wikitext . 21 Interwiki links . 26 Including HTML . 26 Templates . 27 3 4 Contents Parser and tag functions . 30 Variables . 33 Behavior switches . 33 5 Content organization 35 Categories . 35 Namespaces . 38 Redirects . 41 Subpages and super-pages . 42 Special pages . 43 6 Communication 45 Talk pages . 45 LiquidThreads . 47 Echo & Flow . 48 Handling reader comments . 48 Chat........................................................... 49 Emailing users . 49 7 Images and files 51 Uploading . 51 Displaying images . 55 Image galleries . 56 Slideshows . 56 Displaying outside images . 57 8 User registration and management 59 Registration . 59 User groups and permissions . 61 Creating user accounts . 64 OpenID and other login integration systems . 64 Blocking and deleting users . 66 9 Browsing and searching 69 Viewing the set of all pages . 69 Searching . 70 Installing another search engine . 71 Using an outside search engine . 73 Contents 5 10 Monitoring the wiki 75 Recent changes . 75 Watchlist . 75 Logs........................................................... 76 Statistics . 76 11 Extensions 79 Finding extensions . 79 Installing extensions . 80 Gadgets . 81 CategoryTree . 82 WYSIWYG editing extensions . 82 SocialProfile . 86 UrlGetParameters . 87 Ratings extensions . 88 12 Extended MediaWiki syntax 89 ParserFunctions . 89 Displaying code . 91 Displaying math . 92 Cite........................................................... 92 Header Tabs . ..