Page MenuHomePhabricator

Customisable Software Version Table in Special:Version via Hook
Closed, ResolvedPublic

Description

Author: charlie

Description:
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.


Version: unspecified
Severity: enhancement

Attached:

Details

Reference
bz18529

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:34 PM
bzimport set Reference to bz18529.
bzimport added a subscriber: Unknown Object (MLST).
demon added a comment.Apr 20 2009, 1:05 PM

Did it in r49661 a bit differently. Make the software an array that the hook can modify to add/remove as desired.