Last modified: 2013-01-18 17:48:56 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 T37885, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 35885 - Sane output for http://www.mediawiki.org/w/api.php?version needed with git
Sane output for http://www.mediawiki.org/w/api.php?version needed with git
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
1.20.x
All All
: Lowest minor with 2 votes (vote)
: ---
Assigned To: Yuri Astrakhan
http://www.mediawiki.org/w/api.php?ve...
:
Depends on: 33287
Blocks:
  Show dependency treegraph
 
Reported: 2012-04-11 12:42 UTC by Marcin Cieślak
Modified: 2013-01-18 17:48 UTC (History)
10 users (show)

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


Attachments

Description Marcin Cieślak 2012-04-11 12:42:03 UTC
Here is what we get right now:

http://www.mediawiki.org/w/api.php?version

  MediaWiki: 1.20wmf1 (c532e81)
    https://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/
  ApiMain: $Id$
  ApiBase: $Id$
  ApiFormatBase: $Id$
  ApiQueryBase: $Id$
Comment 1 Krinkle 2012-04-14 04:14:22 UTC
Git doesn't support keywords like this. To see when a file was last modified one will have to check the git repository.
Comment 2 Robert Morley 2012-04-30 03:38:48 UTC
In a similar fashion, http://www.mediawiki.org/w/api.php?action=paraminfo&modules=query also returns $Id$ in its version tags. If this feature is deprecated due to the conversion to Git, the output should be cleaned up or report a clear-cut error, if possible.
Comment 3 Max Semenik 2012-12-15 10:08:49 UTC
I believe we should kill all getVersion() stuff in API with fire. A feature should either work flawlessly or not be there at all. Since there appears to be no convenient way to doit in Git and since nobody uses these versions anyway, this stuff must die.
Comment 4 Yuri Astrakhan 2012-12-28 11:07:09 UTC
Will delete it. Git kinda supports it but according to many its not worth the hassle.

http://stackoverflow.com/questions/62264/dealing-with-svn-keyword-expansion-with-git-svn#72874
Comment 5 Yuri Astrakhan 2013-01-12 16:27:28 UTC
Change-Id: I910ca1448ed2ed697ac19b17c486d130aa1d7e03
Comment 6 Brad Jorsch 2013-01-18 17:48:56 UTC
Change applied.

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


Navigation
Links