Last modified: 2009-04-20 13:05:39 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 18529 - Customisable Software Version Table in Special:Version via Hook
Customisable Software Version Table in Special:Version via Hook
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch, patch-need-review
Depends on:
  Show dependency treegraph
Reported: 2009-04-20 04:34 UTC by Charles Melbye
Modified: 2009-04-20 13:05 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---

Example Hook Implementation (1.13 KB, patch)
2009-04-20 04:34 UTC, Charles Melbye

Description Charles Melbye 2009-04-20 04:34:20 UTC
Created attachment 6041 [details]
Example Hook Implementation

I've attached an example patch that will add a hook that allows the adding of arbitrary rows to the Software Version table in [[Special:Version]] that currently holds the version numbers of MediaWiki, PHP, and your database.

This would be useful because it would let developers/maintainers of a wiki installation add in site-specific information, such as the version of other daemons and servers that their wiki relies on (Search, Spam Filtering, Caching, etc), as well as a version number of the configuration that the wiki is running off of if they have that in version control.

The patch may need to be cleaned up a bit, but it works and it's easy to use and implement.
Comment 1 Chad H. 2009-04-20 13:05:39 UTC
Did it in r49661 a bit differently. Make the software an array that the hook can modify to add/remove as desired. 

Note You need to log in before you can comment on or make changes to this bug.