Page MenuHomePhabricator

Provide MediaWiki version number
Closed, ResolvedPublic

Description

Author: srbauer

Description:
It is sometimes not easy to recognize when changes in the svn /trunk/phase3/includes/api are going live: The only way at the moment to keep track of enhancements and bugfixes is to look at *all* timestamps in action=help&version - a rather boring task considering the size of the help page.

Please add a revision timestamp for the whole API for easier tracking (newest modification date of all modules - this can be added for example in the "info" value that's empty at the moment or in a new "timestamp" value).


Version: unspecified
Severity: enhancement
URL: http://en.wikipedia.org/w/api.php

Details

Reference
bz10392

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:53 PM
bzimport set Reference to bz10392.

robchur wrote:

A better option is just to include the MediaWiki version plus revision number. You can also obtain this information through Special:Version.

robchur wrote:

When assigning bugs, please remember to change the Assign-To field and status.

Created attachment 3836
Returns MediaWiki version and SVN revision ID in action=help&version

(In reply to comment #3)

When assigning bugs, please remember to change the Assign-To field and status.

Sorry, relatively new here. FWIW, I did change the bug's status to ASSIGNED.

The attached patch does exactly what you asked for:

api.php?action=help&version yields:
Version:

MediaWiki 1.11alpha (r23501)
ApiMain: $Id: ApiMain.php 22500 2007-05-28 06:59:19Z yurik $
  http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/api/ApiMain.php
ApiBase: $Id: ApiBase.php 23358 2007-06-25 05:44:33Z yurik $
  http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/api/ApiBase.php

etc.

Attached:

robchur wrote:

Applied in r23502.