Tech:MediaWiki extensions: Difference between revisions

From Orain Meta
Jump to navigation Jump to search
Content added Content deleted
(+ a few thousand extensions)
imported>Addshore
m (7 revisions imported from techwiki:MediaWiki extensions)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
The list of current '''MediaWiki extensions''' can be seen at [https://github.com/Orain/ansible-playbook/blob/master/roles/mediawiki/vars/main.yml here].
List of extensions enabled by default on all Orain wikis;


== How to enable an extension ==
* AdminLinks
=== Download it ===
* AntiSpoof
* Make sure there is a git repo. If the extension is only downloadable from outside GitHub/Wikimedia Git (like a zipped file on an external website), create a repository for it first.
* AbuseFilter
* Edit [https://github.com/Orain/ansible-playbook/blob/master/roles/mediawiki/vars/main.yml this] file by specifying the git repo URL, version and the path where the extension should be cloned.
* Babel
* If it is an extension which should be enabled on ALL wikis, edit [https://github.com/Orain/ansible-playbook/blob/master/roles/mediawiki/files/localsettings/GlobalExtensions.php this file]. If it should only be enabled on one or multiple but not all wikis, edit [https://github.com/Orain/ansible-playbook/blob/master/roles/mediawiki/files/localsettings/LocalExtensions.php this file]. In the last case, be sure you enable it always on extloadwiki!
* CategoryTree
* Run update.php to update the database scheme if needed, which can be done by running <code>/usr/bin/php5 /srv/mediawiki/w/maintenance/update.php --quick --wiki yourwikidb</code> or <code>/home/www-scripts/db_loop.sh /srv/mediawiki/w/maintenance/update.php --quick</code> (the last one is for ALL wikis)
* CentralAuth
* Check if everything works as expected. If not, look in the /var/log/mediawiki directory for debugging the issue. Issues affecting the basic working of a wiki should never happen, please consider to revert your commits immediately if needed!
* CentralNotice
=== Info ===
* CheckUser
* Please check on [//mediawiki.org mediawikiwiki] if the extension is known to have security flaws. XSS or SQL injection, no one may appear on Orain! If you want to fix the flaws yourself, please submit your extension patch as a pull request so others can review it!
* Cite
* SpecialCite
* Asirra
* ConfirmEdit
* DismissableSiteNotice
* DynamicPageList
* Gadgets
* GlobalBlocking
* InputBox
* Interwiki
* MassMessage
* Nuke
* OrainMessages
* ParserFunctions
* Renameuser
* Scribunto
* SimpleAntiSpam
* SiteMatrix
* Spamblacklist
* SyntaxHighlight GeSHi
* TemplateSandbox
* TitleBlacklist
* TitleKey
* Variables
* YouTube
* WikiLove
* NativeSvgHandler

Extensions which can be enabled by request on a wiki;

* AJAXPoll
* ApiSandbox
* CSS
* CharInsert
* CirrusSearch
* CodeEditor
* Collection
* Comment
* CreateBox
* DPLForum
* Disambigutator
* Echo
* Elastica
* GoogleSiteVerification
* HeaderTabs
* ImageMap
* LiquidThreads
* Math
* MobileFrontend
* MultiBoilerplate
* NewUserMessage
* PdfBook
* Peom
* Quiz
* Random Selection
* ReplaceText
* SidebarMenu
* SubPageFun
* Tabber
* Translate
* UniversalLanguageSelector
* UrlShortener
* VoteNY
* Widgets
* WikiEditor
* Wikilog

Latest revision as of 19:51, 3 April 2015

The list of current MediaWiki extensions can be seen at here.

How to enable an extension

Download it

  • Make sure there is a git repo. If the extension is only downloadable from outside GitHub/Wikimedia Git (like a zipped file on an external website), create a repository for it first.
  • Edit this file by specifying the git repo URL, version and the path where the extension should be cloned.
  • If it is an extension which should be enabled on ALL wikis, edit this file. If it should only be enabled on one or multiple but not all wikis, edit this file. In the last case, be sure you enable it always on extloadwiki!
  • Run update.php to update the database scheme if needed, which can be done by running /usr/bin/php5 /srv/mediawiki/w/maintenance/update.php --quick --wiki yourwikidb or /home/www-scripts/db_loop.sh /srv/mediawiki/w/maintenance/update.php --quick (the last one is for ALL wikis)
  • Check if everything works as expected. If not, look in the /var/log/mediawiki directory for debugging the issue. Issues affecting the basic working of a wiki should never happen, please consider to revert your commits immediately if needed!

Info

  • Please check on mediawikiwiki if the extension is known to have security flaws. XSS or SQL injection, no one may appear on Orain! If you want to fix the flaws yourself, please submit your extension patch as a pull request so others can review it!