Page MenuHomePhabricator

Sane output for needed with git
Closed, ResolvedPublic


Here is what we get right now:

MediaWiki: 1.20wmf1 (c532e81)
ApiMain: $Id$
ApiBase: $Id$
ApiFormatBase: $Id$
ApiQueryBase: $Id$

Version: 1.20.x
Severity: minor



Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 22 2014, 12:12 AM
bzimport added a project: MediaWiki-API.
bzimport set Reference to bz35885.
saper created this task.Apr 11 2012, 12:42 PM

Git doesn't support keywords like this. To see when a file was last modified one will have to check the git repository.

In a similar fashion, 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.

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.

Will delete it. Git kinda supports it but according to many its not worth the hassle.

Yurik added a comment.Jan 12 2013, 4:27 PM

Change-Id: I910ca1448ed2ed697ac19b17c486d130aa1d7e03

Change applied.