MediaWiki explained

MediaWiki
Logo Size:150px
Collapsible:yes
Developer:Wikimedia Foundation
Programming Language:PHP[1]
Operating System:Windows, macOS, Linux, FreeBSD, OpenBSD, Solaris
Size:79.05 MiB (compressed)
Language Count:459[2]
Genre:Wiki software
License:GPLv2+[3]
Bodystyle:width:323px

MediaWiki is free and open-source wiki software originally developed by Magnus Manske for use on Wikipedia on January 25, 2002, and further improved by Lee Daniel Crocker,[4] [5] after which it has been coordinated by the Wikimedia Foundation. It powers several wiki hosting websites across the Internet, as well as most websites hosted by the Wikimedia Foundation including Wikipedia, Wiktionary, Wikimedia Commons, Wikiquote, Meta-Wiki and Wikidata, which define a large part of the set requirements for the software.[6] MediaWiki is written in the PHP programming language and stores all text content into a database. The software is optimized to efficiently handle large projects, which can have terabytes of content and hundreds of thousands of views per second.[6] [7] Because Wikipedia is one of the world's largest and most visited websites, achieving scalability through multiple layers of caching and database replication has been a major concern for developers. Another major aspect of MediaWiki is its internationalization; its interface is available in more than 400 languages. The software has more than 1,000 configuration settings[8] and more than 1,800 extensions available for enabling various features to be added or changed.[9] Besides its usage on Wikimedia sites, MediaWiki has been used as a knowledge management and content management system on websites such as Fandom, wikiHow and major internal installations like Intellipedia and Diplopedia.

License

MediaWiki is free and open-source and is distributed under the terms of the GNU General Public License version 2 or any later version. Its documentation, located at its official website at www.mediawiki.org, is released under the Creative Commons BY-SA 4.0 license and partly in the public domain.[10] Specifically, the manuals and other content at MediaWiki.org are Creative Commons-licensed, while the set of help pages intended to be freely copied into fresh wiki installations and/or distributed with MediaWiki software is public domain. This was done to eliminate legal issues arising from the help pages being imported into wikis with licenses that are incompatible with the Creative Commons license.[11] MediaWiki's development has generally favored the use of open-source media formats.

Development

MediaWiki has an active volunteer community for development and maintenance. Users who have made meaningful contributions to the project by submitting patches are generally, upon request, granted access to commit revisions to the project's Git/Gerrit repository.[12] There are also paid programmers who primarily develop projects for the Wikimedia Foundation. MediaWiki developers participate in the Google Summer of Code by facilitating the assignment of mentors to students wishing to work on MediaWiki core and extension projects.[13] During the year prior to November 2012, there were about two hundred developers who had committed changes to the MediaWiki core or extensions.[14] Major MediaWiki releases are generated approximately every six months by taking snapshots of the development branch, which is kept continuously in a runnable state;[15] minor releases, or point releases, are issued as needed to correct bugs (especially security problems).MediaWiki is developed on a continuous integration development model, in which software changes are pushed live to Wikimedia sites on regular basis.MediaWiki also has a public bug tracker, phabricator.wikimedia.org, which runs Phabricator. The site is also used for feature and enhancement requests.

History

When Wikipedia was launched in January 2001, it ran on an existing wiki software system, UseModWiki. UseModWiki is written in the Perl programming language, and stores all wiki pages in text (.txt) files. This software soon proved to be limiting, in both functionality and performance. In mid-2001, Magnus Manske—a developer and student at the University of Cologne, as well as a Wikipedia editor—began working on new software that would replace UseModWiki, specifically designed for use by Wikipedia. This software was written in the PHP scripting language, and stored all of its information in a MySQL database. The new software was largely developed by August 24, 2001, and a test wiki for it was established shortly thereafter.

The first full implementation of this software was the new Meta Wikipedia on November 9, 2001. There was a desire to have it implemented immediately on the English-language Wikipedia.[16] However, Manske was apprehensive about any potential bugs harming the nascent website during the period of the final exams he had to complete immediately prior to Christmas;[17] this led to the launch on the English-language Wikipedia being delayed until January 25, 2002. The software was then, gradually, deployed on all the Wikipedia language sites of that time. This software was referred to as "the PHP script" and as "phase II", with the name "phase I", retroactively given to the use of UseModWiki.

Increasing usage soon caused load problems to arise again, and soon after, another rewrite of the software began; this time being done by Lee Daniel Crocker, which became known as "phase III". This new software was also written in PHP, with a MySQL backend, and kept the basic interface of the phase II software, but with the added functionality of a wider scalability. The "phase III" software went live on Wikipedia in July 2002.

The Wikimedia Foundation was announced on June 20, 2003. In July, Wikipedia contributor Daniel Mayer suggested the name "MediaWiki" for the software, as a play on "Wikimedia".[18] The MediaWiki name was gradually phased in, beginning in August 2003. The name has frequently caused confusion due to its (intentional) similarity to the "Wikimedia" name (which itself is similar to "Wikipedia").[19]

The old product logo was created by Erik Möller, using a flower photograph taken by Florence Nibart-Devouard, and was originally submitted to the logo contest for a new Wikipedia logo, held from July 20 to August 27, 2003.[20] [21] The logo came in third place, and was chosen to represent MediaWiki rather than Wikipedia, with the second place logo being used for the Wikimedia Foundation.[22] The double square brackets ( ) symbolize the syntax MediaWiki uses for creating hyperlinks to other wiki pages; while the sunflower represents the diversity of content on Wikipedia, its constant growth, and the wilderness.[23]

Notes and References

  1. mediawiki-announce. Announcing MediaWiki 1.34.0. December 19, 2019. December 19, 2019. Sam. Reed. December 19, 2019. https://web.archive.org/web/20191219203840/https://lists.wikimedia.org/pipermail/mediawiki-announce/2019-December/000242.html. live.
  2. Web site: Names.php mediawiki . github.com . April 8, 2021 . May 19, 2021 . live . July 15, 2021 . https://web.archive.org/web/20210715001937/https://github.com/wikimedia/mediawiki/blob/33440f23c6deab2c1fab0a9ca7ead30d64a3ea2e/languages/data/Names.php .
  3. Web site: Copyright. mediawiki.org. September 7, 2015. https://web.archive.org/web/20150919145522/https://www.mediawiki.org/wiki/Copyright. September 19, 2015. live.
  4. [mailarchive:wikipedia-l/2001-August/000382.html|Magnus Manske's announcement of "PHP Wikipedia"]
  5. Book: MediaWiki. Barrett, Daniel J.. O'Reilly Media. October 2008. 978-0-596-51979-7. April 23, 2010. Daniel J. Barrett. registration.
  6. Web site: January 9, 2021. What is MediaWiki?. live. https://web.archive.org/web/20180722205421/https://www.mediawiki.org/wiki/Manual:What_is_MediaWiki%3F. July 22, 2018. MediaWiki. March 27, 2021.
  7. Web site: Česky . [//en.wikipedia.org/w/index.php?title=Wikipedia:Statistics&oldid=352738565 Wikipedia:Statistics – Wikipedia, the free encyclopedia ]. Wikipedia. May 30, 2010 . August 28, 2021 . https://web.archive.org/web/20210828200519/https://en.wikipedia.org/w/index.php?title=Wikipedia:Statistics&oldid=352738565 . live .
  8. Web site: Category:MediaWiki configuration settings . MediaWiki . September 11, 2016 . September 11, 2016 . https://web.archive.org/web/20141110154304/https://www.mediawiki.org/wiki/Category:MediaWiki_configuration_settings . November 10, 2014. live.
  9. Web site: Extension Matrix . MediaWiki . September 6, 2017 . https://web.archive.org/web/20160911222500/https://www.mediawiki.org/wiki/Category:All_extensions . September 11, 2016. live.
  10. Web site: MediaWiki.org Project:Copyrights . live . https://web.archive.org/web/20230823141546/https://www.mediawiki.org/w/index.php?title=Project:Copyrights&oldid=6078039 . August 23, 2023 . August 23, 2023.
  11. Web site: Project:PD help . MediaWiki . May 30, 2010 . October 29, 2020 . https://web.archive.org/web/20201029184538/https://www.mediawiki.org/w/index.php?title=Project:PD_help&oldid=320349 . live .
  12. Web site: Development policy . MediaWiki . July 19, 2013 . August 4, 2013 . May 10, 2017 . https://web.archive.org/web/20170510130737/https://www.mediawiki.org/w/index.php?title=Development_policy&oldid=740327 . live .
  13. Web site: Summer of Code . MediaWiki . March 26, 2013 . August 4, 2013 . May 10, 2017 . https://web.archive.org/web/20170510130220/https://www.mediawiki.org/w/index.php?title=Summer_of_Code&oldid=663742 . live .
  14. Web site: Wikimedia . Open Hub . November 15, 2012 . https://web.archive.org/web/20170914173356/https://www.openhub.net/orgs/wikimedia . September 14, 2017 . live . Approximate counts (not deduplicated) as of November 4, 2012: 139 for core, 155 for extensions supported by WMF, 190 and 42 for extensions only hosted on WMF's Git and SVN repositories respectively.
  15. Web site: Version lifecycle . MediaWiki . September 5, 2018 . October 21, 2018 . June 17, 2020 . https://web.archive.org/web/20200617015450/https://www.mediawiki.org/w/index.php?title=Version_lifecycle&oldid=2870502 . live .
  16. Web site: Bartlett . Manning . Magnus's new script... . November 14, 2001 . Wikimedia Lists . Wikimedia Foundation . October 2, 2019 . October 2, 2019 . https://web.archive.org/web/20191002043502/https://lists.wikimedia.org/pipermail/wikipedia-l/2001-November/000881.html . live .
  17. Web site: Manske . Magnus . Magnus's new script... . November 14, 2001 . Wikimedia Lists . Wikimedia Foundation . October 2, 2019 . October 2, 2019 . https://web.archive.org/web/20191002043502/https://lists.wikimedia.org/pipermail/wikipedia-l/2001-November/000882.html . live .
  18. Web site: Phase IV, Wikibooks.org/.com and WikimediaFoundation.org/.com (was Wikis and uniformity) . Mayer . Daniel . Wikipedia-L mailing list . Jul 19, 2003 . January 18, 2015 . July 12, 2017 . https://web.archive.org/web/20170712002739/https://lists.wikimedia.org/pipermail/wikipedia-l/2003-July/011021.html . live .
  19. Web site: Differences between Wikipedia, Wikimedia, MediaWiki, and wiki . MediaWiki . May 30, 2010 . https://web.archive.org/web/20090701102809/https://www.mediawiki.org/wiki/Wikipmediawiki . July 1, 2009 . live . mdy-all .
  20. Web site: International logo contest . Meta-Wiki . en. April 9, 2020. May 9, 2020. https://web.archive.org/web/20200509163823/https://meta.wikimedia.org/wiki/International_logo_contest. live.
  21. Web site: International logo contest/results . Meta-wiki . . January 10, 2007 . March 14, 2007 . November 4, 2015 . https://web.archive.org/web/20151104145339/https://meta.wikimedia.org/w/index.php?title=International_logo_contest%2FResults&oldid=509000 . live .
  22. Web site: Historical/Logo history . . January 17, 2007 . March 14, 2007 . Meta-wiki . November 4, 2015 . https://web.archive.org/web/20151104145339/https://meta.wikimedia.org/w/index.php?title=Meta%3AHistorical%2FLogo_history&oldid=513925 . live .
  23. Book: Everything Is Miscellaneous: The Power of the New Digital Disorder . David Weinberger . David Weinberger . 2007 . Times Books . 978-0-8050-8043-8 . 99 . Everything Is Miscellaneous: The Power of the New Digital Disorder .
  24. Web site: [//www.mediawiki.org/w/index.php?title=MediaWiki_history&oldid=618636 MediaWiki history ]. August 4, 2013 . MediaWiki website . October 27, 2020 . https://web.archive.org/web/20201027154036/https://www.mediawiki.org/w/index.php?title=MediaWiki_history&oldid=618636 . live .
  25. Web site: Wikipedia and MediaWiki . April 28, 2006 . September 23, 2009 . Presentation MediaWiki development (video) . https://web.archive.org/web/20110414151917/https://www.youtube.com/watch?v=DWef69ItVrU . April 14, 2011 . live . mdy-all .
  26. Web site: MediaWiki ResourceLoader . Mediawiki.org . July 6, 2013 . https://web.archive.org/web/20130308030735/https://www.mediawiki.org/wiki/ResourceLoader . March 8, 2013 . live .
  27. Web site: VisualEditor – MediaWiki. MediaWiki. September 15, 2013. https://web.archive.org/web/20130927190403/https://www.mediawiki.org/wiki/VisualEditor. September 27, 2013. live. mdy-all.
  28. Web site: Sarabadani . Amir . Logo of MediaWiki has changed . Wikimedia Foundation . April 2, 2021 . March 31, 2021 . April 2, 2021 . https://web.archive.org/web/20210402053427/https://lists.wikimedia.org/pipermail/mediawiki-l/2021-March/048685.html . live .
  29. https://www.mediawiki.org/wiki/MediaWiki_testimonials MediaWiki testimonials
  30. Web site: The story of Intelpedia: A model corporate wiki. Socialmedia.biz. August 16, 2013. https://web.archive.org/web/20130916232246/https://socialmedia.biz/2010/07/08/the-story-of-intelpedia-a-model-corporate-wiki/. September 16, 2013. live.
  31. Web site: A stealth transformation: introducing wikis to the UN . A. Maron . M. Maron . Knowledge Management for Development Journal . 2007 . October 9, 2010 . https://web.archive.org/web/20110504030508/https://journal.km4dev.org/journal/index.php/km4dj/article/view/99/159 . May 4, 2011 . dead .
  32. Web site: LibrePlanet Homepage. December 10, 2018. https://web.archive.org/web/20110318110137/https://libreplanet.org/. March 18, 2011. live.
  33. Web site: 2023-08-20 . Message group statistics: MediaWiki core . live . https://web.archive.org/web/20230820231524/https://translatewiki.net/wiki/Special:MessageGroupStats?group=core&messages=&suppressempty=1&x=D . 2023-08-20 . 2023-08-20 . translatewiki.net . 488 languages (not including languages that are supported but have no translations).
  34. Web site: Manual:$wgEnableUploads . MediaWiki . May 30, 2010 . https://web.archive.org/web/20100625234102/https://www.mediawiki.org/wiki/Manual:$wgEnableUploads . June 25, 2010 . live .
  35. Web site: Manual:$wgLogo . MediaWiki . December 12, 2009 . May 30, 2010 . https://web.archive.org/web/20100625234904/https://www.mediawiki.org/wiki/Manual:$wgLogo . June 25, 2010 . live .
  36. Web site: Manual:LocalSettings.php . MediaWiki . March 29, 2007 . May 30, 2010 . https://web.archive.org/web/20100625233619/https://www.mediawiki.org/wiki/LocalSettings.php . June 25, 2010 . live .
  37. Web site: Extension:AbuseFilter . MediaWiki . May 30, 2010 . https://web.archive.org/web/20100625224424/https://www.mediawiki.org/wiki/Extension:AbuseFilter . June 25, 2010 . live .
  38. Web site: wikEd. Cacycle. https://web.archive.org/web/20071123151215/https://en.wikipedia.org/wiki/User:Cacycle/wikEd. November 23, 2007. live. mdy-all.
  39. Web site: Manual:Installation guide . MediaWiki . May 30, 2010 . https://web.archive.org/web/20100625235352/https://www.mediawiki.org/wiki/Manual:Installation_guide . June 25, 2010 . live .
  40. Web site: Manual:Extending wiki markup . MediaWiki . May 30, 2010 . https://web.archive.org/web/20110501083425/https://www.mediawiki.org/wiki/Manual:Extending_wiki_markup . May 1, 2011 . live .
  41. Web site: HTML to Wiki Converter – tables . WMF Labs . March 29, 2008 . June 12, 2014 . https://web.archive.org/web/20140713040132/https://tools.wmflabs.org/magnustools/html2wiki.php . July 13, 2014 . live .
  42. Web site: Markup spec . MediaWiki . May 30, 2010 . https://web.archive.org/web/20071219052149/https://www.mediawiki.org/wiki/Markup_spec . December 19, 2007 . live .
  43. Web site: Extricating Meaning from Wikimedia Article Archives . January 2, 2011 . https://web.archive.org/web/20110310023318/https://www.cs.rmit.edu.au/adcs2010/proceedings/pdf/paper%204.pdf . March 10, 2011 . live .
  44. Web site: API . MediaWiki . May 17, 2010 . May 30, 2010 . https://web.archive.org/web/20100527004158/https://www.mediawiki.org/wiki/API . May 27, 2010 . live .
  45. Web site: Pywikibot – MediaWiki . mediawiki.org . March 16, 2018 . https://web.archive.org/web/20180309072418/https://www.mediawiki.org/wiki/Manual:Pywikibot . March 9, 2018 . live .
  46. Web site: Česky . Wikipedia:AutoWikiBrowser – Wikipedia, the free encyclopedia . En.wikipedia.org . May 30, 2010 . https://web.archive.org/web/20100420235103/https://en.wikipedia.org/wiki/Wikipedia:AutoWikiBrowser . April 20, 2010 . live .
  47. Web site: API:Client code . MediaWiki . May 24, 2010 . May 30, 2010 . https://web.archive.org/web/20100626072508/https://www.mediawiki.org/wiki/API:Client_code . June 26, 2010 . live .
  48. Web site: Extension:VisualEditor. live. March 15, 2021. MediaWiki. en. February 21, 2021. https://web.archive.org/web/20210221063745/https://www.mediawiki.org/wiki/Extension:VisualEditor.
  49. Web site: Category:WYSIWYG extensions . MediaWiki . April 10, 2008 . May 30, 2010 . https://web.archive.org/web/20110501083632/https://www.mediawiki.org/wiki/Category:WYSIWYG_extensions . May 1, 2011 . live .
  50. Web site: Tags – Wikipedia, the free encyclopedia . En.wikipedia.org . May 30, 2010 . March 4, 2010 . https://web.archive.org/web/20100304112922/https://en.wikipedia.org/wiki/Special:Tags . live .
  51. Web site: Manual:Tags . MediaWiki . August 31, 2009 . May 30, 2010 . https://web.archive.org/web/20100625224408/https://www.mediawiki.org/wiki/Manual:Tags . June 25, 2010 . live .
  52. Web site: Wikipedia:Huggle – Wikipedia, the free encyclopedia . En.wikipedia.org . May 30, 2010 . https://web.archive.org/web/20110331172521/https://en.wikipedia.org/wiki/Wikipedia:Huggle . March 31, 2011 . live .
  53. Web site: IRC/Channels . Meta-Wiki . May 30, 2010 . https://web.archive.org/web/20100323020404/https://meta.wikimedia.org/wiki/IRC/Channels#Raw_feeds#Raw_feeds . March 23, 2010 . live .
  54. Web site: Meet the 'bots' that edit Wikipedia. Daniel Nasaw. BBC News. July 25, 2012. July 30, 2012. https://web.archive.org/web/20120728024625/https://www.bbc.co.uk/news/magazine-18892510. July 28, 2012. live. mdy-all.
  55. Web site: Manual:Watchlist . MediaWiki . November 24, 2009 . May 30, 2010 . https://web.archive.org/web/20110501081950/https://www.mediawiki.org/wiki/Manual:Watchlist . May 1, 2011 . live .
  56. Web site: Manual:Interwiki . MediaWiki . May 30, 2010 . https://web.archive.org/web/20101203112631/https://www.mediawiki.org/wiki/Manual:Interwiki . December 3, 2010 . live .
  57. Web site: Interlanguage links. live. March 17, 2021. MediaWiki. en. March 12, 2021. https://web.archive.org/web/20210312133505/https://www.mediawiki.org/wiki/Interlanguage_links.
  58. Web site: Pintscher. Lydia. September 23, 2013. Wikidata is Here!. live. March 17, 2021. Commons:Village pump. en. December 6, 2021. https://web.archive.org/web/20211206060438/https://commons.wikimedia.org/wiki/Commons:Village_pump/Archive/2013/10#Wikidata_is_here.21.
  59. Web site: Help:Navigation . MediaWiki . May 21, 2010 . May 30, 2010 . https://web.archive.org/web/20100527004218/https://www.mediawiki.org/wiki/Help:Navigation#Page_Tabs#Page_Tabs . May 27, 2010 . live .
  60. Book: Enterprise 2. 0 Implementation . Newman . Aaron . Adam . Steinberg . Jeremy . Thomas . 185 . McGraw-Hill Professional . 2008 . 978-0-07-159160-7.
  61. Book: Multi-Stakeholder Governance and the Internet Governance Forum . limited . Malcolm, Jeremy . 188, 280 . Terminus Press . 2008 . 978-0-9805084-0-6.
  62. Book: Wiki . limited . Ebersbach . Anja . Markus . Glaser . Richard . Heigl . Gunter . Dueck . 55, 80–82, 109, 120–121, 156 . Springer . 2006 . 978-3-540-25995-4.
  63. Web site: Help:Categories . MediaWiki . May 30, 2010 . https://web.archive.org/web/20100625220958/https://www.mediawiki.org/wiki/Help:Categories . June 25, 2010 . live .
  64. Collaborative thesaurus tagging the Wikipedia way. cs.IR/0604036. April 27, 2006. Jakob Voss.
  65. Web site: Wikipedia:Tools/Navigation popups. Lupin. https://web.archive.org/web/20060718164504/https://en.wikipedia.org/wiki/Wikipedia%3ATools/Navigation_popups. July 18, 2006. live. mdy-all.
  66. Web site: Extension:Gadgets . MediaWiki . March 30, 2010 . May 30, 2010 . https://web.archive.org/web/20100625220327/https://www.mediawiki.org/wiki/Extension:Gadgets . June 25, 2010 . live .
  67. Web site: Česky . Template:Welcome – Wikipedia, the free encyclopedia . En.wikipedia.org . May 16, 2010 . May 30, 2010 . https://web.archive.org/web/20110506003930/https://en.wikipedia.org/wiki/Template:Welcome . May 6, 2011 . live .
  68. Web site: Česky . Wikipedia:Barnstars – Wikipedia, the free encyclopedia . En.wikipedia.org . May 30, 2010 . https://web.archive.org/web/20090624134612/https://en.wikipedia.org/wiki/Wikipedia:Barnstars . June 24, 2009 . live .
  69. Web site: Česky . Template:Test – Wikipedia, the free encyclopedia . En.wikipedia.org . May 30, 2010 . https://web.archive.org/web/20091111014442/https://en.wikipedia.org/wiki/Template:Test . November 11, 2009 . live .
  70. Web site: Template:Test5 – Wikipedia, the free encyclopedia . En.wikipedia.org . June 19, 2008 . May 30, 2010 . https://web.archive.org/web/20090424005115/https://en.wikipedia.org/wiki/Template:Test5 . April 24, 2009 . live .
  71. Web site: Manual:User rights management . MediaWiki . May 30, 2010 . https://web.archive.org/web/20100625222112/https://www.mediawiki.org/wiki/Manual%3AUser_rights_management#Automatically_promote_users#Automatically_promote_users . June 25, 2010 . live .
  72. Web site: Extension:PureWikiDeletion . MediaWiki . May 26, 2010 . May 30, 2010 . https://web.archive.org/web/20110501083608/https://www.mediawiki.org/wiki/Extension:PureWikiDeletion . May 1, 2011 . live .
  73. Web site: Wikipedia:Village pump (proposals)/Persistent proposals/Straw poll for view-deleted – Wikipedia, the free encyclopedia . En.wikipedia.org . May 30, 2010 . May 16, 2017 . https://web.archive.org/web/20170516185032/https://en.wikipedia.org/w/index.php?title=Wikipedia%3AVillage_pump_%28proposals%29%2FPersistent_proposals%2FStraw_poll_for_view-deleted&diff=242245446&oldid=242205474 . live .
  74. Web site: RevisionDelete . MediaWiki . May 30, 2010 . https://web.archive.org/web/20100626001201/https://www.mediawiki.org/wiki/RevisionDelete . June 26, 2010 . live .
  75. Web site: Extension:Oversight . MediaWiki . May 15, 2010 . May 30, 2010 . https://web.archive.org/web/20100625224255/https://www.mediawiki.org/wiki/Extension:Oversight . June 25, 2010 . live .
  76. Web site: Extension:DeletePagePermanently . MediaWiki . May 30, 2010 . https://web.archive.org/web/20110501083447/https://www.mediawiki.org/wiki/Extension:DeletePagePermanently . May 1, 2011 . live .
  77. Web site: Security issues with authorization extensions . MediaWiki . May 30, 2010 . https://web.archive.org/web/20100626074354/https://www.mediawiki.org/wiki/Security_issues_with_authorization_extensions . June 26, 2010 . live .
  78. Web site: Manual:Hooks/ArticleSaveComplete . MediaWiki . May 26, 2010 . May 30, 2010 . https://web.archive.org/web/20141110145905/https://www.mediawiki.org/wiki/Manual:Hooks/ArticleSaveComplete . November 10, 2014 . live .
  79. Web site: Extension:Recent Activity Notify . MediaWiki . May 30, 2010 . https://web.archive.org/web/20140927110023/https://www.mediawiki.org/wiki/Extension:Recent_Activity_Notify . September 27, 2014 . live .
  80. Web site: Manual:Tag extensions . MediaWiki . May 21, 2010 . May 30, 2010 . https://web.archive.org/web/20141012211540/https://www.mediawiki.org/wiki/Manual:Tag_extensions . October 12, 2014 . live .
  81. Web site: Manual:Parser functions . MediaWiki . March 22, 2010 . May 30, 2010 . https://web.archive.org/web/20141018103626/https://www.mediawiki.org/wiki/Manual:Parser_functions . October 18, 2014 . live .
  82. Web site: Manual:Special pages . MediaWiki . May 30, 2010 . https://web.archive.org/web/20141110162401/https://www.mediawiki.org/wiki/Manual:Special_pages . November 10, 2014 . live .
  83. Web site: Manual:Skins . MediaWiki . May 14, 2010 . May 30, 2010 . https://web.archive.org/web/20141125085917/https://www.mediawiki.org/wiki/Skin . November 25, 2014 . live .
  84. Web site: Manual:Integration with S3 . MediaWiki . March 22, 2010 . May 30, 2010 . https://web.archive.org/web/20141127084520/https://www.mediawiki.org/wiki/Manual:Integration_with_S3 . November 27, 2014 . live .
  85. Web site: Extension:CodeReview . MediaWiki . May 30, 2010 . https://web.archive.org/web/20140926003412/https://www.mediawiki.org/wiki/Extension:CodeReview . September 26, 2014 . live .
  86. [:mw:jQuery|jQuery on MediaWiki]
  87. Web site: Extension:ParserFunctions . MediaWiki . December 25, 2009 . May 30, 2010 . https://web.archive.org/web/20100625222930/https://www.mediawiki.org/wiki/Extension%3AParserFunctions . June 25, 2010 . live .
  88. Web site: Wikipedia:Miscellany for deletion/Template:Qif – Wikipedia, the free encyclopedia . En.wikipedia.org . May 30, 2010 . February 25, 2015 . https://web.archive.org/web/20150225125827/https://en.wikipedia.org/wiki/Wikipedia:Miscellany_for_deletion/Template:Qif . live .
  89. Web site: Category:String manipulation templates – Wikipedia, the free encyclopedia . En.wikipedia.org . May 15, 2010 . May 30, 2010 . https://web.archive.org/web/20110506003940/https://en.wikipedia.org/wiki/Category:String_manipulation_templates . May 6, 2011 . live .
  90. Web site: Bug 6455 – Enable StringFunctions on WMF wikis . bugzilla.wikimedia.org . October 9, 2010 . January 22, 2012 . https://web.archive.org/web/20120122061250/https://bugzilla.wikimedia.org/show_bug.cgi?id=6455 . live .
  91. Web site: Extension:StringFunctions . MediaWiki . May 30, 2010 . https://web.archive.org/web/20100625221030/https://www.mediawiki.org/wiki/Extension:StringFunctions . June 25, 2010 . live .
  92. Web site: r51497 – Code Review . MediaWiki . May 30, 2010 . November 27, 2014 . https://web.archive.org/web/20141127205157/https://www.mediawiki.org/wiki/Special:Code/MediaWiki/51497 . live .
  93. Web site: Lua performance . December 27, 2018 . August 24, 2018 . https://web.archive.org/web/20180824045534/https://en.wikipedia.org/wiki/User:Dragons_flight/Lua_performance . live .
  94. Web site: Extension:Cite . MediaWiki . May 3, 2010 . May 30, 2010 . https://web.archive.org/web/20141020220333/https://www.mediawiki.org/wiki/Extension:Cite . October 20, 2014 . live .
  95. Web site: Category:Math extensions . MediaWiki . December 26, 2009 . May 30, 2010 . https://web.archive.org/web/20110501083222/https://www.mediawiki.org/wiki/Category:Math_extensions . May 1, 2011 . live .
  96. Web site: Extension:CategorySuggest . MediaWiki . May 30, 2010 . https://web.archive.org/web/20140926005855/https://www.mediawiki.org/wiki/Extension:CategorySuggest . September 26, 2014 . live .
  97. Web site: Category:Flash Video extensions . MediaWiki . May 30, 2010 . https://web.archive.org/web/20140915080226/https://www.mediawiki.org/wiki/Category:Flash_Video_extensions . September 15, 2014 . live .
  98. Web site: Category:YouTube extensions . MediaWiki . September 16, 2008 . May 30, 2010 . https://web.archive.org/web/20110501083939/https://www.mediawiki.org/wiki/Category:YouTube_extensions . May 1, 2011 . live .
  99. Web site: Category:RSS extensions . MediaWiki . May 30, 2010 . https://web.archive.org/web/20101203095104/https://www.mediawiki.org/wiki/Category:RSS_extensions . December 3, 2010 . live .
  100. Web site: Wiki spam . Meta-Wiki . May 30, 2010 . https://web.archive.org/web/20141107131454/https://meta.wikimedia.org/wiki/Wiki_Spam . November 7, 2014 . live .
  101. Web site: Extension:ConfirmEdit . MediaWiki . May 5, 2010 . May 30, 2010 . https://web.archive.org/web/20141020204041/https://www.mediawiki.org/wiki/Extension:ConfirmEdit . October 20, 2014 . live .
  102. Web site: Extension:SpamBlacklist . MediaWiki . March 24, 2010 . May 30, 2010 . https://web.archive.org/web/20141020220337/https://www.mediawiki.org/wiki/Extension:SpamBlacklist . October 20, 2014 . live .
  103. Web site: Extension:Nuke . MediaWiki . May 19, 2010 . May 30, 2010 . https://web.archive.org/web/20141020204031/https://www.mediawiki.org/wiki/Extension:Nuke . October 20, 2014 . live .
  104. https://www.mediawiki.org/wiki/Extension:Lucene-search Lucene-search MediaWiki extension
  105. https://www.mediawiki.org/wiki/Extension:SphinxSearch SphinxSearch MediaWiki extension
  106. Book: Hartung, Michael. 123. A Platform for Collaborative Management of Semantic Grid Metadata. Intelligent distributed computing, systems and applications. etal.
  107. Web site: Manual:Installation requirements. live. March 14, 2021. MediaWiki. en. March 8, 2021. https://web.archive.org/web/20210308104956/https://www.mediawiki.org/wiki/Manual:Installation_requirements.
  108. Web site: Manual:Page table . MediaWiki . May 15, 2010 . May 30, 2010 . https://web.archive.org/web/20141125051102/https://www.mediawiki.org/wiki/Manual:Page_table . November 25, 2014 . live .
  109. Web site: Manual:Revision table . MediaWiki . May 30, 2010 . https://web.archive.org/web/20141124224756/https://www.mediawiki.org/wiki/Manual:Revision_table . November 24, 2014 . live .
  110. Web site: Manual:What is . MediaWiki . May 30, 2010 . https://web.archive.org/web/20180722205421/https://www.mediawiki.org/wiki/Manual:What_is_MediaWiki%3F . July 22, 2018 . live .
  111. Web site: Extension:StructuredDiscussions . MediaWiki . December 27, 2018 . December 27, 2018 . https://web.archive.org/web/20181227181448/https://www.mediawiki.org/wiki/Extension:StructuredDiscussions . live .
  112. Web site: Extension:Wikilog . MediaWiki . November 27, 2009 . May 30, 2010 . https://web.archive.org/web/20140922080626/https://www.mediawiki.org/wiki/Extension:Wikilog . September 22, 2014 . live .
  113. Web site: Help:Signatures . MediaWiki . May 30, 2010 . https://web.archive.org/web/20081115143342/https://www.mediawiki.org/wiki/Help:Signatures . November 15, 2008 . live .
  114. Web site: Extension:Semantic MediaWiki – WikiApiary . October 12, 2019 . October 26, 2018 . https://web.archive.org/web/20181026002750/https://wikiapiary.com/wiki/Extension:Semantic_Mediawiki . live .
  115. Web site: Security for developers . MediaWiki . May 30, 2010 . https://web.archive.org/web/20141125053458/https://www.mediawiki.org/wiki/Security_for_developers . November 25, 2014 . live .
  116. Web site: News . MediaWiki . May 30, 2010 . https://web.archive.org/web/20141006102554/https://www.mediawiki.org/wiki/News . October 6, 2014 . live .
  117. Web site: Manual:Security . MediaWiki . March 22, 2010 . May 30, 2010 . https://web.archive.org/web/20141110162807/https://www.mediawiki.org/wiki/Manual:Security . November 10, 2014 . live .
  118. Web site: Events . Mediawiki.org . December 27, 2018 . December 27, 2018 . https://web.archive.org/web/20181227181546/https://www.mediawiki.org/wiki/Events . live .
  119. https://www.mediawiki.org/wiki/Books_about_MediaWiki Books about MediaWiki
  120. Book: MediaWiki Administrator's Handbook. Wikibooks. October 20, 2014. https://web.archive.org/web/20141020055454/https://en.wikibooks.org/wiki/MediaWiki_Administrator%27s_Handbook. October 20, 2014. live.
  121. Grecco. Claudio Henrique dos Santos. Augusto. Silas Cordeiro. Souza. Jaqueline Tavares Viana de. Carvalho. Paulo Victor Rodrigues. Davila. Adriana Loureiro. July 25, 2021. A Method for the evaluation of knowledge management systems. Brazilian Journal of Radiation Sciences. en. 9. 2B. 10.15392/bjrs.v9i2B.1250. 237733021. 2319-0612. November 12, 2021. November 12, 2021. https://web.archive.org/web/20211112114628/https://www.bjrs.org.br/revista/index.php/REVISTA/article/view/1250. live. free.
  122. Web site: File talk:EloquenceSunflowerNew-Small.png – Meta |url = https://meta.wikimedia.org/w/index.php?title=File_talk:EloquenceSunflowerNew-Small.png&oldid=9331 |author = Erik Möller |work = Meta-wiki |publisher = Wikimedia Foundation |date = July 26, 2003 |access-date = February 3, 2013 |archive-date = January 30, 2016 |archive-url = https://web.archive.org/web/20160130205926/https://meta.wikimedia.org/w/index.php?title=File_talk:EloquenceSunflowerNew-Small.png&oldid=9331 |url-status = live }}

    Later,, the chief technical officer of the Wikimedia Foundation,[23] took up the role of release manager.[24] [25]

    Major milestones in MediaWiki's development have included: the categorization system (2004); parser functions, (2006); Flagged Revisions, (2008); the "ResourceLoader", a delivery system for CSS and JavaScript (2011);[26] and the VisualEditor, a "what you see is what you get" (WYSIWYG) editing platform (2013).[27]

    The contest of designing a new logo was initiated on June 22, 2020, as the old logo was a bitmap image and had "high details", leading to problems when rendering at high and low resolutions, respectively. After two rounds of voting, the new and current MediaWiki logo designed by Serhio Magpie was selected on October 24, 2020, and officially adopted on April 1, 2021.[28]

    Version history

    See main article: MediaWiki version history. The first version of MediaWiki, 1.1, was released in December 2003.

    Sites using MediaWiki

    See also: Category:MediaWiki websites.

    See main article: mw:Sites using MediaWiki. MediaWiki's most famous use has been in Wikipedia and, to a lesser degree, the Wikimedia Foundation's other projects. Fandom, a wiki hosting service formerly known as Wikia, runs on MediaWiki. Other public wikis that run on MediaWiki include wikiHow and SNPedia. WikiLeaks began as a MediaWiki-based site, but is no longer a wiki.

    A number of alternative wiki encyclopedias to Wikipedia run on MediaWiki, including Citizendium, Metapedia, Scholarpedia and Conservapedia. MediaWiki is also used internally by a large number of companies, including Novell and Intel.[29] [30]

    Notable usages of MediaWiki within governments include Intellipedia, used by the United States Intelligence Community, Diplopedia, used by the United States Department of State, and milWiki, a part of milSuite used by the United States Department of Defense. United Nations agencies such as the United Nations Development Programme and INSTRAW chose to implement their wikis using MediaWiki, because "this software runs Wikipedia and is therefore guaranteed to be thoroughly tested, will continue to be developed well into the future, and future technicians on these wikis will be more likely to have exposure to MediaWiki than any other wiki software."[31]

    The Free Software Foundation uses MediaWiki to implement the LibrePlanet site.[32]

    Key features

    MediaWiki provides a rich core feature set and a mechanism to attach extensions to provide additional functionality.

    Internationalization and localisation

    Due to the strong emphasis on multilingualism in the Wikimedia projects, internationalization and localization has received significant attention by developers. The user interface has been fully or partially translated into more than 400 languages on translatewiki.net,[33] and can be further customized by site administrators (the entire interface is editable through the wiki).

    Several extensions, most notably those collected in the MediaWiki Language Extension Bundle, are designed to further enhance the multilingualism and internationalization of MediaWiki.

    Installation and configuration

    Installation of MediaWiki requires that the user have administrative privileges on a server running both PHP and a compatible type of SQL database. Some users find that setting up a virtual host is helpful if the majority of one's site runs under a framework (such as Zope or Ruby on Rails) that is largely incompatible with MediaWiki. Cloud hosting can eliminate the need to deploy a new server.

    An installation PHP script is accessed via a web browser to initialize the wiki's settings. It prompts the user for a minimal set of required parameters, leaving further changes, such as enabling uploads,[34] adding a site logo,[35] and installing extensions, to be made by modifying configuration settings contained in a file called LocalSettings.php.[36] Some aspects of MediaWiki can be configured through special pages or by editing certain pages; for instance, abuse filters can be configured through a special page,[37] and certain gadgets can be added by creating JavaScript pages in the MediaWiki namespace.[38] The MediaWiki community publishes a comprehensive installation guide.[39]

    Markup

    One of the earliest differences between MediaWiki (and its predecessor, UseModWiki) and other wiki engines was the use of "free links" instead of CamelCase. When MediaWiki was created, it was typical for wikis to require text like "WorldWideWeb" to create a link to a page about the World Wide Web; links in MediaWiki, on the other hand, are created by surrounding words with double square brackets, and any spaces between them are left intact, e.g. {{brackets|World Wide Web}}. This change was logical for the purpose of creating an encyclopedia, where accuracy in titles is important.

    MediaWiki uses an extensible[40] lightweight wiki markup designed to be easier to use and learn than HTML. Tools exist for converting content such as tables between MediaWiki markup and HTML.[41] Efforts have been made to create a MediaWiki markup spec, but a consensus seems to have been reached that Wikicode requires context-sensitive grammar rules.[42] [43] The following side-by-side comparison illustrates the differences between wiki markup and HTML:

    (Quotation above from Alice's Adventures in Wonderland by Lewis Carroll)

    Editing interface

    See also: VisualEditor.

    MediaWiki's default page-editing tools have been described as somewhat challenging to learn. A survey of students assigned to use a MediaWiki-based wiki found that when they were asked an open question about main problems with the wiki, 24% cited technical problems with formatting, e.g. "Couldn't figure out how to get an image in. Can't figure out how to show a link with words; it inserts a number."

    To make editing long pages easier, MediaWiki allows the editing of a subsection of a page (as identified by its header). A registered user can also indicate whether or not an edit is minor. Correcting spelling, grammar or punctuation are examples of minor edits, whereas adding paragraphs of new text is an example of a non-minor edit.

    Sometimes while one user is editing, a second user saves an edit to the same part of the page. Then, when the first user attempts to save the page, an edit conflict occurs. The second user is then given an opportunity to merge their content into the page as it now exists following the first user's page save.

    MediaWiki's user interface has been localized in many different languages. A language for the wiki content itself can also be set, to be sent in the "Content-Language" HTTP header and "lang" HTML attribute.

    Application programming interface

    MediaWiki has an extensible web API (application programming interface) that provides direct, high-level access to the data contained in the MediaWiki databases. Client programs can use the API to log in, get data, and post changes. The API supports thin web-based JavaScript clients and end-user applications (such as vandal-fighting tools). The API can be accessed by the backend of another web site.[44] An extensive Python bot library, Pywikibot,[45] and a popular semi-automated tool called AutoWikiBrowser, also interface with the API.[46] The API is accessed via URLs such as https://en.wikipedia.org/w/api.php?action=query&list=recentchanges. In this case, the query would be asking Wikipedia for information relating to the last 10 edits to the site. One of the perceived advantages of the API is its language independence; it listens for HTTP connections from clients and can send a response in a variety of formats, such as XML, serialized PHP, or JSON. Client code has been developed to provide layers of abstraction to the API.[47]

    Rich content

    MediaWiki supports rich content generated through specialized syntax. For example, the software comes with optional support for rendering mathematical formulas using LaTeX and a special parser written in OCaml. Similar functionality for other content, ranging from graphical timelines over mathematical plotting and musical scores to Egyptian hieroglyphs, is available via extensions.

    The software has become more powerful at dealing with a wide variety of uploaded media files. Its richest functionality is in the area of images, where image galleries and thumbnails can be generated with relative ease. There is also support for Exif metadata. The use of MediaWiki to operate the Wikimedia Commons, one of the largest free content media archives, has driven the need for further functionality in this area.

    For WYSIWYG editing, VisualEditor is available to use in MediaWiki which simplifying editing process for editors and has been bundled since MediaWiki 1.35.[48] Other extensions exist for handling WYSIWYG editing to different degrees.[49]

    Tracking edits

    Among the features of MediaWiki to assist in tracking edits is a Recent Changes feature that provides a list of recent edits to the wiki. This list contains basic information about those edits such as the editing user, the edit summary, the page edited, as well as any tags (e.g. "possible malware link")[50] added by customizable abuse filters and other extensions to aid in combating unhelpful edits.[51] On more active wikis, so many edits occur that it is hard to track Recent Changes manually. Anti-vandal software, including user-assisted tools,[52] is sometimes employed on such wikis to process Recent Changes items. Server load can be reduced by sending a continuous feed of Recent Changes to an IRC channel that these tools can monitor, eliminating their need to send requests for a refreshed Recent Changes feed to the API.[53] [54]

    Another important tool is watchlisting. Each logged-in user has a watchlist to which the user can add whatever pages he or she wishes. When an edit is made to one of those pages, a summary of that edit appears on the watchlist the next time it is refreshed.[55] As with the recent changes page, recent edits that appear on the watchlist contain clickable links for easy review of the article history and specific changes made.

    There is also the capability to review all edits made by any particular user. In this way, if an edit is identified as problematic, it is possible to check the user's other edits for issues.

    MediaWiki allows one to link to specific versions of articles. This has been useful to the scientific community, in that expert peer reviewers could analyse articles, improve them and provide links to the trusted version of that article.

    Navigation

    Wikilinks

    Navigation through the wiki is largely through internal wikilinks. MediaWiki's wikilinks implement page existence detection, in which a link is colored blue if the target page exists on the local wiki and red if it does not. If a user clicks on a red link, they are prompted to create an article with that title. Page existence detection makes it practical for users to create "wikified" articles—that is, articles containing links to other pertinent subjects—without those other articles being yet in existence.

    Interwiki links

    Interwiki links function much the same way as namespaces. A set of interwiki prefixes can be configured to cause, for instance, a page title of wikiquote:Jimbo Wales to direct the user to the Jimbo Wales article on Wikiquote.[56] Unlike internal wikilinks, interwiki links lack page existence detection functionality, and accordingly there is no way to tell whether a blue interwiki link is broken or not.

    Interlanguage links

    Interlanguage links are the small navigation links that show up in the sidebar in most MediaWiki skins that connect an article with related articles in other languages within the same Wiki family. This can provide language-specific communities connected by a larger context, with all wikis on the same server or each on its own server.[57]

    Previously, Wikipedia used interlanguage links to link an article to other articles on the same topic in other editions of Wikipedia. This was superseded by the launch of Wikidata.[58]

    Content organization

    Page tabs and associated pages

    Page tabs are displayed at the top of pages. These tabs allow users to perform actions or view pages that are related to the current page. The available default actions include viewing, editing, and discussing the current page. The specific tabs displayed depend on whether the user is logged into the wiki and whether the user has sysop privileges on the wiki. For instance, the ability to move a page or add it to one's watchlist is usually restricted to logged-in users. The site administrator can add or remove tabs by using JavaScript or installing extensions.[59]

    Each page has an associated history page from which the user can access every version of the page that has ever existed and generate diffs between two versions of his choice. Users' contributions are displayed not only here, but also via a "user contributions" option on a sidebar. In a 2004 article, Carl Challborn and Teresa Reimann noted that "While this feature may be a slight deviation from the collaborative, 'ego-less' spirit of wiki purists, it can be very useful for educators who need to assess the contribution and participation of individual student users."

    Namespaces

    MediaWiki provides many features beyond hyperlinks for structuring content. One of the earliest such features is namespaces. One of Wikipedia's earliest problems had been the separation of encyclopedic content from pages pertaining to maintenance and communal discussion, as well as personal pages about encyclopedia editors. Namespaces are prefixes before a page title (such as "User:" or "Talk:") that serve as descriptors for the page's purpose and allow multiple pages with different functions to exist under the same title. For instance, a page titled "{{brackets|The Terminator}}", in the default namespace, could describe the 1984 movie starring Arnold Schwarzenegger, while a page titled "{{brackets|User:The Terminator}}" could be a profile describing a user who chooses this name as a pseudonym. More commonly, each namespace has an associated "Talk:" namespace, which can be used to discuss its contents, such as "User talk:" or "Template talk:". The purpose of having discussion pages is to allow content to be separated from discussion surrounding the content.[60] [61]

    Namespaces can be viewed as folders that separate different basic types of information or functionality. Custom namespaces can be added by the site administrators. There are 16 namespaces by default for content, with 2 "pseudo-namespaces" used for dynamically generated "Special:" pages and links to media files. Each namespace on MediaWiki is numbered: content page namespaces have even numbers and their associated talk page namespaces have odd numbers.[62]

    Category tags

    Users can create new categories and add pages and files to those categories by appending one or more category tags to the content text. Adding these tags creates links at the bottom of the page that take the reader to the list of all pages in that category, making it easy to browse related articles.[63] The use of categorization to organize content has been described as a combination of:

    Subpages

    In addition to namespaces, content can be ordered using subpages. This simple feature provides automatic breadcrumbs of the pattern {{brackets|Page title/Subpage title}} from the page after the slash (in this case, "Subpage title") to the page before the slash (in this case, "Page title").

    Customization

    If the feature is enabled, users can customize their stylesheets and configure client-side JavaScript to be executed with every pageview. On Wikipedia, this has led to a large number of additional tools and helpers developed through the wiki and shared among users. For instance, navigation popups is a custom JavaScript tool that shows previews of articles when the user hovers over links and also provides shortcuts for common maintenance tasks.[65]

    The entire MediaWiki user interface can be edited through the wiki itself by users with the necessary permissions (typically called "administrators"). This is done through a special namespace with the prefix "MediaWiki:", where each page title identifies a particular user interface message. Using an extension,[66] it is also possible for a user to create personal scripts, and to choose whether certain sitewide scripts should apply to them by toggling the appropriate options in the user preferences page.

    Templates

    The "MediaWiki:" namespace was originally also used for creating custom text blocks that could then be dynamically loaded into other pages using a special syntax. This content was later moved into its own namespace, "Template:".

    Templates are text blocks that can be dynamically loaded inside another page whenever that page is requested. The template is a special link in double curly brackets (for example "{{Disputed|date=October 2018}}"), which calls the template (in this case located at) to load in place of the template call.

    Templates are structured documents containing attribute–value pairs. They are defined with parameters, to which are assigned values when transcluded on an article page. The name of the parameter is delimited from the value by an equals sign. A class of templates known as infoboxes is used on Wikipedia to collect and present a subset of information about its subject, usually on the top (mobile view) or top right-hand corner (desktop view) of the document.

    A related method, called template substitution (called by adding subst: at the beginning of a template link) inserts the contents of the template into the target page (like a copy and paste operation), instead of loading the template contents dynamically whenever the page is loaded. This can lead to inconsistency when using templates, but may be useful in certain cases, and in most cases requires fewer server resources (the actual amount of savings can vary depending on wiki configuration and the complexity of the template).

    Templates have found many different uses. Templates enable users to create complex table layouts that are used consistently across multiple pages, and where only the content of the tables gets inserted using template parameters. Templates are frequently used to identify problems with a Wikipedia article by putting a template in the article. This template then outputs a graphical box stating that the article content is disputed or in need of some other attention, and also categorize it so that articles of this nature can be located. Templates are also used on user pages to send users standard messages welcoming them to the site,[67] giving them awards for outstanding contributions,[68] warning them when their behavior is considered inappropriate,[69] notifying them when they are blocked from editing,[70] and so on.

    Groups and restriction of access

    MediaWiki offers flexibility in creating and defining user groups. For instance, it would be possible to create an arbitrary "ninja" group that can block users and delete pages, and whose edits are hidden by default in the recent changes log. It is also possible to set up a group of "autoconfirmed" users that one becomes a member of after making a certain number of edits and waiting a certain number of days.[71] Some groups that are enabled by default are bureaucrats and sysops. Bureaucrats have the power to change other users' rights. Sysops have power over page protection and deletion and the blocking of users from editing. MediaWiki's available controls on editing rights have been deemed sufficient for publishing and maintaining important documents such as a manual of standard operating procedures in a hospital.

    When a page consists only of useless content, there are several ways to remove that content. The simplest way, available to all users, is simply to blank the page. However, this interferes with page existence detection, unless an extension is installed to treat blanked pages as though they were nonexistent.[72] Blanking also leaves the content accessible through the history page, an outcome that, while potentially increasing transparency by allowing non-sysops to easily review the content removal decision for appropriateness, might be unacceptable or even unlawful[73] in some cases. Another option is for a sysop to delete the page, and thereby prevent it from being viewed by non-sysops. Another level of deletion, called RevisionDelete, can be used by a group (e.g. "Oversighters") to prevent a page from being viewed by non-members of that group.[74] It is also possible, using certain extensions, to remove content from being viewed through any of the normal channels on the wiki,[75] or even to completely delete revisions from the database.[76]

    MediaWiki comes with a basic set of features related to restricting access, but its original and ongoing design is driven by functions that largely relate to content, not content segregation. As a result, with minimal exceptions (related to specific tools and their related "Special" pages), page access control has never been a high priority in core development and developers have stated that users requiring secure user access and authorization controls should not rely on MediaWiki, since it was never designed for these kinds of situations. For instance, it is extremely difficult to create a wiki where only certain users can read and access some pages.[77] Here, wiki engines like Foswiki, MoinMoin and Confluence provide more flexibility by supporting advanced security mechanisms like access control lists.

    Extensibility

    The MediaWiki codebase contains various hooks using callback functions to add additional PHP code in an extensible way. This allows developers to write extensions without necessarily needing to modify the core or having to submit their code for review. Installing an extension typically consists of adding a line to the configuration file, though in some cases additional changes such as database updates or core patches are required.

    Five main extension points were created to allow developers to add features and functionalities to MediaWiki. Hooks are run every time a certain event happens; for instance, the ArticleSaveComplete hook occurs after a save article request has been processed.[78] This can be used, for example, by an extension that notifies selected users whenever a page edit occurs on the wiki from new or anonymous users.[79] New tags can be created to process data with opening and closing tags (<newtag>...</newtag>).[80] Parser functions can be used to create a new command ({{#if:...|...|...}}).[81] New special pages can be created to perform a specific function. These pages are dynamically generated. For example, a special page might show all pages that have one or more links to an external site or it might create a form providing user submitted feedback.[82] Skins allow users to customize the look and feel of MediaWiki.[83] A minor extension point allows the use of Amazon S3 to host image files.[84]

    Extensions

    Resources to developers

    MediaWiki can be made more advanced and useful for various purposes through its extensions. These extensions vary greatly in complexity.

    The Wikimedia Foundation operates a Git server where many extensions host their repository. Most of them also have a documentation page on the MediaWiki website.

    MediaWiki code review was itself historically facilitated through a MediaWiki extension.[85] As of March 2012, it has been done through Gerrit.

    Since version 1.16, MediaWiki uses the jQuery library.[86]

    Text manipulation

    Among the most popular extensions is a parser function extension, ParserFunctions, which allows different content to be rendered based on the result of conditional statements.[87] These conditional statements can perform functions such as evaluating whether a parameter is empty, comparing strings, evaluating mathematical expressions, and returning one of two values depending on whether a page exists. It was designed as a replacement for a notoriously inefficient template called .[88] Schindler recounts the history of the ParserFunctions extension as follows:

    Another parser functions extension, StringFunctions, was developed to allow evaluation of string length, string position, and so on. Wikimedia communities, having created awkward workarounds to accomplish the same functionality,[89] clamored for it to be enabled on their projects.[90] Much of its functionality was eventually integrated into the ParserFunctions extension,[91] albeit disabled by default and accompanied by a warning from Tim Starling that enabling string functions would allow users "to implement their own parsers in the ugliest, most inefficient programming language known to man: MediaWiki wikitext with ParserFunctions."[92]

    Since 2012 an extension, Scribunto, has existed that allows for the creation of "modules"—wiki pages written in the scripting language Lua—which can then be run within templates and standard wiki pages. Scribunto has been installed on Wikipedia and other Wikimedia sites since 2013 and is used heavily on those sites. Scribunto code runs significantly faster than corresponding wikitext code using ParserFunctions.[93]

    For footnotes and academic-related display

    Another very popular extension is a citation extension that enables footnotes to be added to pages using inline references.[94] This extension has, however, been criticized for being difficult to use and requiring the user to memorize complex syntax. A gadget called RefToolbar attempts to make it easier to create citations using common templates. MediaWiki has some extensions that are well-suited for academia, such as mathematics extensions[95] and an extension that allows molecules to be rendered in 3D.

    Integration

    A generic Widgets extension exists that allows MediaWiki to integrate with virtually anything. Other examples of extensions that could improve a wiki are category suggestion extensions[96] and extensions for inclusion of Flash Videos,[97] YouTube videos,[98] and RSS feeds.[99] Metavid, a site that archives video footage of the U.S. Senate and House floor proceedings, was created using code extending MediaWiki into the domain of collaborative video authoring.

    Combating linkspam

    There are many spambots that search the web for MediaWiki installations and add linkspam to them, despite the fact that MediaWiki uses the nofollow attribute to discourage such attempts at search engine optimization.[100] Part of the problem is that third party republishers, such as mirrors, may not independently implement the nofollow tag on their websites, so marketers can still get PageRank benefit by inserting links into pages when those entries appear on third party websites. Anti-spam extensions have been developed to combat the problem by introducing CAPTCHAs,[101] blacklisting certain URLs,[102] and allowing bulk deletion of pages recently added by a particular user.[103]

    Searches and queries

    MediaWiki comes pre-installed with a standard text-based search. Extensions exist to let MediaWiki use more sophisticated third-party search engines, including Elasticsearch (which since 2014 has been in use on Wikipedia), Lucene[104] and Sphinx.[105]

    Various MediaWiki extensions have also been created to allow for more complex, faceted search, on both data entered within the wiki and on metadata such as pages' revision history. Semantic MediaWiki is one such extension.[106]

    Database

    MediaWiki can use either the MySQL/MariaDB, PostgreSQL or SQLite relational database management system. Support for Oracle Database and Microsoft SQL Server has been dropped since MediaWiki 1.34.[107] A MediaWiki database contains several dozen tables, including a page table that contains page titles, page ids, and other metadata;[108] and a revision table to which is added a new row every time an edit is made, containing the page id, a brief textual summary of the change performed, the user name of the article editor (or its IP address the case of an unregistered user) and a timestamp.[109]

    In a 4½ year period prior to 2008, the MediaWiki database had 170 schema versions. Possibly the largest schema change was done in 2005 with MediaWiki 1.5, when the storage of metadata was separated from that of content, to improve performance flexibility. When this upgrade was applied to Wikipedia, the site was locked for editing, and the schema was converted to the new version in about 22 hours. Some software enhancement proposals, such as a proposal to allow sections of articles to be watched via watchlist, have been rejected because the necessary schema changes would have required excessive Wikipedia downtime.

    Performance and storage

    Because it is used to run one of the highest-traffic sites on the Web, Wikipedia, MediaWiki's performance and scalability have been highly optimized. MediaWiki supports Squid, load-balanced database replication, client-side caching, memcached or table-based caching for frequently accessed processing of query results, a simple static file cache, feature-reduced operation, revision compression, and a job queue for database operations. MediaWiki developers have attempted to optimize the software by avoiding expensive algorithms, database queries, etc., caching every result that is expensive and has temporal locality of reference, and focusing on the hot spots in the code through profiling.

    MediaWiki code is designed to allow for data to be written to a read-write database and read from read-only databases, although the read-write database can be used for some read operations if the read-only databases are not yet up to date. Metadata, such as article revision history, article relations (links, categories etc.), user accounts and settings can be stored in core databases and cached; the actual revision text, being more rarely used, can be stored as append-only blobs in external storage. The software is suitable for the operation of large-scale wiki farms such as Wikimedia, which had about 800 wikis as of August 2011. However, MediaWiki comes with no built-in GUI to manage such installations.

    Empirical evidence shows most revisions in MediaWiki databases tend to differ only slightly from previous revisions. Therefore, subsequent revisions of an article can be concatenated and then compressed, achieving very high data compression ratios of up to 100x.

    For more information on the architecture, such as how it stores wikitext and assembles a page, see External links.

    Limitations

    The parser serves as the de facto standard for the MediaWiki syntax, as no formal syntax has been defined. Due to this lack of a formal definition, it has been difficult to create WYSIWYG editors for MediaWiki, although several WYSIWYG extensions do exist, including the popular VisualEditor.

    MediaWiki is not designed to be a suitable replacement for dedicated online forum or blogging software,[110] although extensions do exist to allow for both of these.[111] [112]

    It is common for new MediaWiki users to make certain mistakes, such as forgetting to sign posts with four tildes (~~~~),[113] or manually entering a plaintext signature, due to unfamiliarity with the idiosyncratic particulars involved in communication on MediaWiki discussion pages. On the other hand, the format of these discussion pages has been cited as a strength by one educator, who stated that it provides more fine-grain capabilities for discussion than traditional threaded discussion forums. For example, instead of 'replying' to an entire message, the participant in a discussion can create a hyperlink to a new wiki page on any word from the original page. Discussions are easier to follow since the content is available via hyperlinked wiki page, rather than a series of reply messages on a traditional threaded discussion forum. However, except in few cases, students were not using this capability, possibly because of their familiarity with the traditional linear discussion style and a lack of guidance on how to make the content more 'link-rich'.

    MediaWiki by default has little support for the creation of dynamically assembled documents, or pages that aggregate data from other pages. Some research has been done on enabling such features directly within MediaWiki. The Semantic MediaWiki extension provides these features. It is not in use on Wikipedia, but in more than 1,600 other MediaWiki installations.[114] The Wikibase Repository and Wikibase Repository client are however implemented in Wikidata and Wikipedia respectively, and to some extent provides semantic web features, and linking of centrally stored data to infoboxes in various Wikipedia articles.

    Upgrading MediaWiki is usually fully automated, requiring no changes to the site content or template programming. Historically troubles have been encountered when upgrading from significantly older versions.

    Security

    MediaWiki developers have enacted security standards, both for core code and extensions.[115] SQL queries and HTML output are usually done through wrapper functions that handle validation, escaping, filtering for prevention of cross-site scripting and SQL injection. Many security issues have had to be patched after a MediaWiki version release,[116] and accordingly MediaWiki.org states, "The most important security step you can take is to keep your software up to date" by subscribing to the announcement mailing list and installing security updates that are announced.[117]

    Developer community

    MediaWiki developers are spread around the world, though with a majority in the United States and Europe. Face-to-face meetings and programming sessions for MediaWiki developers have been held once or several times a year since 2004.[118]

    Support

    Support for MediaWiki users consists of:

    • MediaWiki.org, including the Support Desk.
    • An official mailing list, Mediawiki-l.
    • Several books have been written about MediaWiki administration,[119] including some free online books.[120]

    Comparison to other online collaboration software

    See main article: Comparison of wiki software.

    Users of online collaboration software are familiar with MediaWiki's functions and layout due to its noted use on Wikipedia. A 2006 overview of social software in academia observed that "Compared to other wikis, MediaWiki is also fairly aesthetically pleasing, though simple, and has an easily customized side menu and stylesheet." However, in one assessment in 2006, Confluence was deemed to be a superior product due to its very usable API and ability to better support multiple wikis.

    A 2009 study at the University of Hong Kong compared TWiki to MediaWiki. The authors noted that TWiki has been considered as a collaborative tool for the development of educational papers and technical projects, whereas MediaWiki's most noted use is on Wikipedia. Although both platforms allow discussion and tracking of progress, TWiki has a "Report" part that MediaWiki lacks. Students perceived MediaWiki as being easier to use and more enjoyable than TWiki. When asked whether they recommended using MediaWiki for knowledge management course group project, 15 out of 16 respondents expressed their preference for MediaWiki giving answers of great certainty, such as "of course", "for sure". TWiki and MediaWiki both have flexible plug-in architecture.

    A 2009 study that compared students' experience with MediaWiki to that with Google Docs found that students gave the latter a much higher rating on user-friendly layout.

    A 2021 study conducted by the Brazilian Nuclear Engineering Institute compared a MediaWiki-based knowledge management system against two others that were based on DSpace and Open Journal Systems, respectively.[121] It highlighted ease of use as an advantage of the MediaWiki-based system, noting that because the Wikimedia Foundation had been developing MediaWiki for a site aimed at the general public (Wikipedia), "its user interface was designed to be more user-friendly from start, and has received large user feedback over a long time", in contrast to DSpace's and OJS's focus on niche audiences.

    See also

    External links

    .