Sam Wilson's Website

T67: MediaWiki

Wikidata logo. Wikidata item Q83: MediaWikifree and open-source wiki software, used by Wikipedia
bug tracking system
source code repository
programming language
  • PHP
  • JavaScript
copyright license
  • GNU General Public License, version 2.0 or later
Commons category
  • MediaWiki
topic's main category
  • Category:MediaWiki
official website
software version identifier
  • 1.23.14
  • 1.24.4
  • 1.25.3
  • 1.27.0
  • 1.26.0
  • 1.26.1
  • 1.26.2
  • 1.26.3
  • 1.25.6
  • 1.28.0
  • 1.27.1
  • 1.28.1
  • 1.27.2
  • 1.23.16
  • 1.23.17
  • 1.27.3
  • 1.28.2
  • 1.29.0
  • 1.29.1
  • 1.27.4
  • 1.28.3
  • 1.29.2
  • 1.30.0
  • 1.31.0
  • 1.30.1
  • 1.31.1
  • 1.29.3
  • 1.27.5
  • 1.32.0
  • 1.32.1
  • 1.27.6
  • 1.30.2
  • 1.31.2
  • 1.32.2
  • 1.27.7
  • 1.31.3
  • 1.32.3
  • 1.33.0
  • 1.33.1
  • 1.32.4
  • 1.31.4
  • 1.31.5
  • 1.32.5
  • 1.26.4
  • 1.25.5
  • 1.25.4
  • 1.25.2
  • 1.25.1
  • 1.25.0
  • 1.24.6
  • 1.24.5
  • 1.24.3
  • 1.24.2
  • 1.24.1
  • 1.24.0
  • 1.23.15
  • 1.23.13
  • 1.23.12
  • 1.23.11
  • 1.23.10
  • 1.23.9
  • 1.23.8
  • 1.23.7
  • 1.23.6
  • 1.23.5
  • 1.23.4
  • 1.23.3
  • 1.23.2
  • 1.23.1
  • 1.23.0
  • 1.22.15
  • 1.22.14
  • 1.22.13
  • 1.22.12
  • 1.22.11
  • 1.22.10
  • 1.22.9
  • 1.22.8
  • 1.22.7
  • 1.22.6
  • 1.22.5
  • 1.22.4
  • 1.22.3
  • 1.22.2
  • 1.22.1
  • 1.22.0
  • 1.21.11
  • 1.21.10
  • 1.21.9
  • 1.21.8
  • 1.21.7
  • 1.21.6
  • 1.21.5
  • 1.21.4
  • 1.21.3
  • 1.21.2
  • 1.21.1
  • 1.21.0
  • 1.20.8
  • 1.20.7
  • 1.20.6
  • 1.20.5
  • 1.20.4
  • 1.20.3
  • 1.20.2
  • 1.20.1
  • 1.20.0
  • 1.31.6
  • 1.32.6
  • 1.33.2
  • 1.34.0
  • 1.19.24
  • 1.19.23
  • 1.19.22
  • 1.19.21
  • 1.19.20
  • 1.19.19
  • 1.19.18
  • 1.19.17
  • 1.19.16
  • 1.19.15
  • 1.19.14
  • 1.19.13
  • 1.19.12
  • 1.19.11
  • 1.19.10
  • 1.19.9
  • 1.19.8
  • 1.19.7
  • 1.19.6
  • 1.19.5
  • 1.19.4
  • 1.19.3
  • 1.19.2
  • 1.19.1
  • 1.19.0
  • 1.18.6
  • 1.18.5
  • 1.18.4
  • 1.18.3
  • 1.18.2
  • 1.18.1
  • 1.18.0
  • 1.17.5
  • 1.17.4
  • 1.17.3
  • 1.17.2
  • 1.17.1
  • 1.17.0
  • 1.16.5
  • 1.16.4
  • 1.16.3
  • 1.16.2
  • 1.16.1
  • 1.16.0
  • 1.15.5
  • 1.15.4
  • 1.15.3
  • 1.15.2
  • 1.15.1
  • 1.15.0
  • 1.14.1
  • 1.14.0
  • 1.13.5
  • 1.13.4
  • 1.13.3
  • 1.13.2
  • 1.13.1
  • 1.13.0
  • 1.12.4
  • 1.12.3
  • 1.12.2
  • 1.12.1
  • 1.12.0
  • 1.11.2
  • 1.11.1
  • 1.11.0
  • 1.10.4
  • 1.10.3
  • 1.10.2
  • 1.10.1
  • 1.10.0
  • 1.9.6
  • 1.9.5
  • 1.9.4
  • 1.9.3
  • 1.9.2
  • 1.9.1
  • 1.9.0
  • 1.8.5
  • 1.8.4
  • 1.8.3
  • 1.8.2
  • 1.8.1
  • 1.8.0
  • 1.7.3
  • 1.7.2
  • 1.7.1
  • 1.7.0
  • 1.6.12
  • 1.6.11
  • 1.6.10
  • 1.6.9
  • 1.6.8
  • 1.6.7
  • 1.6.6
  • 1.6.5
  • 1.6.4
  • 1.6.3
  • 1.6.2
  • 1.6.1
  • 1.6.0
  • 1.5.9
  • 1.5.8
  • 1.5.7
  • 1.5.6
  • 1.5.5
  • 1.5.4
  • 1.5.3
  • 1.5.2
  • 1.5.1
  • 1.5.0
  • 1.4.15
  • 1.4.14
  • 1.4.13
  • 1.4.12
  • 1.4.11
  • 1.4.10
  • 1.4.9
  • 1.4.8
  • 1.4.7
  • 1.4.6
  • 1.4.5
  • 1.4.4
  • 1.4.3
  • 1.4.2
  • 1.4.1
  • 1.4.0
  • 1.3.18
  • 1.3.17
  • 1.3.16
  • 1.3.15
  • 1.3.14
  • 1.3.13
  • 1.3.12
  • 1.3.11
  • 1.3.10
  • 1.3.9
  • 1.3.8
  • 1.3.7
  • 1.3.6
  • 1.3.5
  • 1.3.4
  • 1.3.3
  • 1.3.2
  • 1.3.1
  • 1.3.0
  • 1.2.6
  • 1.2.5
  • 1.2.4
  • 1.2.3
  • 1.2.2
  • 1.2.1
  • 1.2.0
  • 1.1.0
  • 1.34.1
  • 1.33.3
  • 1.31.7
  • 1.31.8
  • 1.33.4
  • 1.34.2
  • 1.34.3
  • 1.31.9
  • 1.34.4
  • 1.31.10
  • 1.35.0
  • 1.31.11
  • 1.35.1
  • 1.31.12
  • 1.31.13
  • 1.35.2
  • 1.31.14
  • 1.36.0
  • 1.36.1
  • 1.35.3
  • 1.31.15
  • 1.31.16
  • 1.35.4
  • 1.36.2
  • 1.37.0
  • 1.37.1
  • 1.36.3
  • 1.35.5
  • 1.35.6
  • 1.36.4
  • 1.37.2
  • 1.38.0
  • 1.38.1
developer
  • Wikimedia Foundation
Stack Exchange tag
Commons gallery
  • MediaWiki
inception
  • +2002-01-25T00:00:00Z
image
  • Property type 'commonsMedia' not supported yet.
  • Property type 'commonsMedia' not supported yet.
software quality assurance
  • continuous integration
award received
  • Les Trophées du Libre
file format
  • MediaWiki wikitext
motto text
  • Because ideas want to be free.
instance of
  • wiki software
  • free software
  • Wikimedia help page
maintained by WikiProject
  • WikiProject MediaWiki
publication date
  • +2002-01-25T00:00:00Z
influenced by
  • UseModWiki
has use
  • wiki
logo image
  • Property type 'commonsMedia' not supported yet.
  • Property type 'commonsMedia' not supported yet.
  • Property type 'commonsMedia' not supported yet.
  • Property type 'commonsMedia' not supported yet.
platform
  • cross-platform
uses
  • web server
  • relational database management system
different from
  • Wikimedia
  • Wikipedia
  • MediaWiki.org
operating system
  • GNU/Linux
  • Microsoft Windows
  • macOS
  • BSD
  • cross-platform
  • Linux
  • FreeBSD
  • OpenBSD
  • Solaris
copyright status
  • copyrighted
contributor to the creative work or subject
  • Brion Vibber
  • Magnus Manske
  • Lee Daniel Crocker
  • Sam Reed
  • Jeroen De Dauw
maintained by
  • Sam Reed
mailing list archive
social media followers
  • +3826
icon
  • Property type 'commonsMedia' not supported yet.
small logo or icon
  • Property type 'commonsMedia' not supported yet.
has part or parts
  • OOUI
  • MediaWiki shell framework
described by source
  • MediaWiki
FAQ URL
user manual URL
IRC channel

RSS feed icon. RSS feed for the "MediaWiki" tag

Authority Control:
— Dewey Decimal Classification: 006.75 — GND ID: 7629446-8 — Freebase ID: /m/01vw7p — Open Hub ID: mediawiki — Free Software Directory entry: MediaWiki — Quora topic ID: MediaWiki — File Format Wiki page ID: MediaWiki — Debian stable package: mediawiki — Ubuntu package: mediawiki — Framalibre ID: mediawiki — Arch Linux package: mediawiki mediawiki-math — Twitter username: mediawiki — Pro-Linux.de DBApp ID: 3995 — Repology project name: mediawiki — Gentoo package: www-apps/mediawiki — FreeBSD port: www/mediawiki133 www/mediawiki131 www/mediawiki134 www/mediawiki www/mediawiki135 www/mediawiki132 — AUR package: mediawiki-lts mediawiki-math-lts — OmegaWiki Defined Meaning: 1526074 — French Vikidia ID: MediaWiki — English Vikidia ID: MediaWiki — Spanish Vikidia ID: MediaWiki — NetBSD package: www/mediawiki — OpenBSD port: www/mediawiki — subreddit: mediawiki — Docker Hub repository: library/mediawiki — BabelNet ID: 02591762n — SILL software ID: 86 — Facebook ID: MediaWikiProject — AlternativeTo software ID: mediawiki — Zhihu topic ID: 19611014 — GitHub topic: mediawiki — Fandom article ID: uk.vijskpens:MediaWiki — Catalan Vikidia ID: MediaWiki — Australian Trade Mark Number: 1515327 2223564 1671256 — OSDN project: freshmeat_mediawiki


  1. By .

    It’s only 10 o’clock on Monday morning, and I’m already three bugs deep in a queue of “oh, I’ll just have a quick look at why that thing isn’t working.” I wanted to confirm the way in which WikiEditor loads the CSS that disables the resize: none on the main edit form textarea. But of course I’m doing so with PHP 8.1 (for a laugh) and so hit a deprecation notice, so fixed that, and now am getting Error: Class "FormatJson" not found… everywhere. I think it’s a weirdness with LocalisationCache. The question is whether I’ll remember what I was trying to do an hour ago, after I’ve figured this one out. Probably not, but a feint feeling of enqueued context will persist for the rest of the day, making sure I keep feeling worried. Oh well.

  2. By .

    I have updated the MediaWiki Diagrams extension to support Mermaid diagrams. Actually I wrote the code a while ago, but today got around to merging and releasing it.

  3. By .

    I was writing some user documentation for RedirectManager just now, and wrote this sentence-and-a-bit:

    If you provide a name of an existing page to create as a redirect, an error message will be shown and no redirect will be created. Similarly, if you

    I was going to say something about how it’s not possible to create a redirect to a page that doesn’t exist. This isn’t a limitation of MediaWiki, but when I was writing the RedirectManager API I thought it would be good to prevent these “dangling redirects”. It wasn’t until I came to write the documentation that I realised the most obvious use-case: creating a redirect to a page that you’re in the process of creating! As in, while writing a new page, you want to add a shortcut to it — hardly a rare thing, I think.

    This is why I really like “documentation-driven development”, where one writes the docs first and pretends that they’re describing features that already exist. It really does help focus the mind on what’s required of the code, and (as in today’s example) highlights things that might otherwise be overlooked.

    So I’ll now go and change the API error to a warning, and not show it at all in the UI (although it might be worth having some indication that the target page doesn’t exist).

    https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Extension:RedirectManager

  4. By .

    On the weekend I made a new MediaWiki extension: https://www.mediawiki.org/wiki/Extension:RedirectManager

    It’s because I kept getting annoyed at having to open a new tab to create a shortcut redirect to the page I was editing, and wanted a simple way to a) see what redirects exist already; b) create new ones without leaving the editing form; and b) have the wiki suggest an available shortcut to the current page. The first two points are working in the RedirectManager extension, and I’ll add the third soon I hope.

    I was surprised to find that there’s no existing API for creating redirects, so the extension includes its own. In building that I realised that content types other than wikitext also support redirects — I don’t know if I’ve ever seen them in the wild, but JS and CSS pages can be redirected (and probably other custom types too, although it looks like^1 maybe only wikitext-based ones).

    I can now get on with making short URLs for a bunch of things on ArchivesWiki (I’ve been adding links from places like WikiTree to biographies on ArchivesWiki, and sometimes the full page name is a bit long and ugly).

  5. By .

    A few new extensions have had their pages on MediaWiki.org created in the last week:

  6. By .
  7. By .

    I made a page for a new extension: https://www.mediawiki.org/wiki/Extension:TimezoneConverter

    It (and the extension) still need lots of work. It seems there are issues on some devices with timezone abbreviations (e.g. ‘AWST’ gets shown as ‘GMT+8’ on my Android). I don’t want to switch to Moment.js, but maybe that’s the easiest complete database.

  8. By .

    It’s Monday morning and I’m spelunking through OOUI code looking for some particular things to help fit OOUI into jQuery UI — it’s sort of working, and things feel like they might end up working alright. It’s fun working on old bits and bringing them up to date (although, perhaps next year this new code will be rewritten in Vue, I’m not sure). This is for the insert-link dialog in WikiEditor, a thing that I find myself using pretty often. It’s never felt as good as the link-inserter in Dokuwiki, although I can’t now remember why I think that, it’s been years since I touched Dokuwiki. Maybe not being restricted to prefix searching was part of it (did Dokuwiki search on any subpage prefix as well?).

  9. By .

    It’s a beautiful day here, for day 3 of Wikimania. I’m sitting outside the cemetery cafe, working on the extsjsonuploader tool: https://phabricator.wikimedia.org/T288920

    Yesterday I deployed the new thing that creates a JSON file of the same extension.json data, which means a version-checking thing for mwcli will be possible now (e.g. mwcli extensions:outdated --wiki foo to show a list of current and available versions of extensions for any wiki).

    I was just wondering why there are lots of old people coming and going from here, but I guess it’s just that it’s Monday morning and most people have work to do. I feel rather blessed to be able to work from wherever I can sit in the shade.

    This café is on OpenStreetMap, but there aren’t enough details, so I’ll fix that up in a minute. There’s a huge amount of other mapping to do around here too, but I think that’s going to have to wait for another day. I’ve got a bunch of family graves that I want to get photos of too: https://archives.org.au/H.M._Wilson_Archives_graves#Karrakatta.2C_Perth

  10. By .