"Tisza Gergo" gtisza@gmail.com wrote in message news:loom.20090904T133359-595@post.gmane.org...
Chad <innocentkiller <at> gmail.com> writes:
On Thu, Sep 3, 2009 at 1:49 PM, Jan Luca<jan <at> jans-seite.de> wrote:
http://commons.wikimedia.org/wiki/Special:Version said that the version of Commons is r55629.
Now my question is why there is no Upload-API on Commons? The truck hold the function at this revision.
Because the WMF sites don't run trunk, they run the wmf-deployment branch. The overall repository version number is r55780, but the WMF sites are certainly not running that. Just waiting for code review to finish and quite a lot of stuff will go live :)
According to the SVN log, the live version is based on r52088 of the trunk (with a few later changes merged in).
That brings up an interesting issue. Now that the live WMF sites are based on the wmf-deployment branch, should the code that works out the SVN revision be reporting the version of trunk which it was based on, the revision of the last commit to the wmf-deployment branch, or the HEAD revision of the repository at the point the code was last scapped?
It is unclear from the above whether MW is currently reporting the second or third of these options, but the third definitely seems wrong to me. The first (revision of trunk) would be most useful for what I expect is the most common use-case ("Has feature X made it into the live site?") but less useful for people wanting to replicate the WMF setup (i.e. "Which revision of the deployment branch is currently in use"). I am aware that the first option is more difficult (impossible?) to report, so perhaps that is not an option. If that is the case then it could perhaps be made clearer by including the path on the page. I am aware that the link goes to the right place, but it might be better to include it in the text, i.e. instead of displaying "(rXXX)" we could display "(checked out from http://svn.wikimedia.org/svnroot/mediawiki/branches/wmf-deployment/, rXXX)".
Just a thought - perhaps everything's fine as it is...
- Mark Clements (HappyDog)