Last modified: 2007-06-28 12:55:45 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 T12392, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 10392 - Provide MediaWiki version number
Provide MediaWiki version number
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Roan Kattouw
http://en.wikipedia.org/w/api.php
: patch, patch-reviewed
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-06-28 11:48 UTC by Stefan Bauer
Modified: 2007-06-28 12:55 UTC (History)
2 users (show)

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


Attachments
Returns MediaWiki version and SVN revision ID in action=help&version (453 bytes, patch)
2007-06-28 12:38 UTC, Roan Kattouw
Details

Description Stefan Bauer 2007-06-28 11:48:04 UTC
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).
Comment 1 Rob Church 2007-06-28 12:08:15 UTC
A better option is just to include the MediaWiki version plus revision number. You can also obtain this information through Special:Version.
Comment 2 Roan Kattouw 2007-06-28 12:21:41 UTC
I'll add the revision number.
Comment 3 Rob Church 2007-06-28 12:25:19 UTC
When assigning bugs, please remember to change the Assign-To field and status.
Comment 4 Roan Kattouw 2007-06-28 12:38:16 UTC
Created attachment 3836 [details]
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.
Comment 5 Rob Church 2007-06-28 12:55:32 UTC
Applied in r23502.

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


Navigation
Links