MediaWiki’s version information

Thursday, July 31st, 2008 | technology

I spent way too long looking for MediaWiki’s version information. Most applications store the version info in a file or in the database. MediaWiki is a HUGE mess of code and database. I finally found it in a file. It’s in includes/DefaultSettings.php and is stored as a variable - wgVersion.  This is for post 1.3.7 versions of MediaWiki, perhaps even earlier versions.

I write this here because no amount of searching turned up this information. I found it through a series of lucky greps. So, to help out in Google searches:

where is MediaWiki’s version information stored?

locate MediaWiki’s version info

MediaWiki version file

MediaWiki version info

Popularity: 25% [?]

Tags:

3 Comments to MediaWiki’s version information

Max
October 10, 2008

Thank you! You’re google phrases worked ;)

Max
October 10, 2008

Oh, and apparently there’s a special page (Special:version) that makes it even easier if the wiki is still running.

ammon
November 1, 2008

Good point Max. I was needing the exact file for a script I was making to tell me how many installs were on my server, and what versions they were running. I guess I could have scraped that from the web version using wget…. ah, well.

Leave a comment

Search

Categories