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

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T20529, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 18529 - Customisable Software Version Table in Special:Version via Hook
Customisable Software Version Table in Special:Version via Hook
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch, patch-need-review
Depends on:
Blocks:
  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: ---


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

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.


Navigation
Links