User:Rehman/MediaWiki

Over the next few months, I plan on doing some demos on how organisations can use MediaWiki. This page is where I will be storing my own notes (hence it will look messy/incomplete).

The demos will be done on https://wiki.rehman.website/. All uploaded content are dummy content, and the main domain and subdomains were purchased with the intention of being disposable.

Extensions included within MW 1.34.2
The below extensions come with the main MediaWiki installer (v1.34.2). Install all of them (as some of them requires others):


 * Extension:CategoryTree
 * Extension:Cite
 * Extension:CiteThisPage
 * Extension:CodeEditor
 * Extension:ConfirmEdit
 * Extension:Gadgets
 * Extension:ImageMap
 * Extension:InputBox
 * Extension:InterwikiSorting (for multiple wikis only)


 * Extension:LocalisationUpdate
 * Extension:MultimediaViewer
 * Extension:Nuke
 * Extension:OATHAuth (update.php required)
 * Extension:PageImages
 * Extension:ParserFunctions
 * Extension:PdfHandler
 * Extension:Poem


 * Extension:Renameuser
 * Extension:Replace Text
 * Extension:Scribunto (see additional steps)
 * Extension:SpamBlacklist
 * Extension:SyntaxHighlight
 * Extension:TextExtracts
 * Extension:TitleBlacklist
 * Extension:WikiEditor

Suggested extensions

 * Extension:AbuseFilter (update.php required)
 * Extension:Admin Links (probably not needed)
 * Extension:AdvancedSearch
 * Extension:CirrusSearch
 * Extension:Elastica
 * Extension:CheckUser
 * Extension:CLDR
 * Extension:CodeMirror
 * Extension:Echo (update.php required)


 * Extension:GeoData
 * Extension:Graph
 * Extension:JsonConfig
 * Extension:Kartographer
 * Extension:Labeled Section Transclusion
 * Extension:MassMessage
 * Extension:PageTriage (update.php required)
 * Extension:PageViewInfo
 * Extension:Popups (not tested)


 * Extension:RevisionSlider
 * Extension:SandboxLink
 * Extension:SecurePoll (update.php required) (not tested)
 * Extension:StructuredDiscussions (update.php required) (not tested)
 * Extension:Thanks
 * Extension:UploadWizard (configuration recommended)
 * Extension:UserMerge
 * Extension:VisualEditor (not tested)

Restricting access within MediaWiki
See Manual:Preventing access.
 * Disable reading by anonymous users:
 * Disable anonymous editing:
 * Prevent new user registrations except by sysops:

Restriction direct access to uploaded files
See Manual:Image authorization
 * 1) Add   in the   file located in the   directory
 * 2) Change $wgUploadPath in LocalSettings.php to

Other cpanel settings or notes

 * Setup email and/or forwarders for the $wgPasswordSender
 * Disable index viewing
 * Enable hotlink protection

Other probably-useful settings
 $wgEnotifUseRealName = true;
 * 1) Use real name instead of username in email "from" field

 $wgFixDoubleRedirects = true;
 * 1) Fix double redirects after a page move. Edits by Redirect_fixer account name.

 $wgFileExtensions = array_merge(   $wgFileExtensions, [        'pdf', 'ppt', 'pptx', 'doc', 'docx', 'xls', 'xlsx', 'oft'    ] );
 * 1) Add more file types to the default array

Useful MediaWiki interface pages

 * MediaWiki:Loginprompt - To add a note on the login page

To do

 * Softaculous vs. Manual
 * How to block web access to MediaWiki's files and folders?
 * File types
 * Manual:User rights