Last modified: 2010-05-15 14:36:17 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 1739 - Make Revision ID available in a variable
Make Revision ID available in a variable
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
PC All
: Normal enhancement with 2 votes (vote)
: ---
Assigned To: Antoine "hashar" Musso (WMF)
Depends on: 181
  Show dependency treegraph
Reported: 2005-03-23 19:19 UTC by Catherine Munro
Modified: 2010-05-15 14:36 UTC (History)
3 users (show)

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


Description Catherine Munro 2005-03-23 19:19:03 UTC
It would be useful if Revision ID number (see bug 181) could be stored in a variable -- 
{{VERSIONNUMBER}} or the like -- a la the other variables at  

This would make it easy to construct templates for citation of the current version (see bug 
800), and other references helpful to readers as well as editors.

(entering as new bug as suggested by Brion Vibber)
Comment 1 Antoine "hashar" Musso (WMF) 2005-03-26 18:25:04 UTC
New magic keyword: {{REVISIONID}}

Implemented in cvs HEAD and need to be tested. The value will
change when viewing an old revision of the article and seems
to correctly display the current revision on article view.
Comment 2 Antoine "hashar" Musso (WMF) 2005-03-26 18:31:55 UTC
Due to bug 181 (no revision id for current article) this bug
will not be implemented in 1.4. Closing.
Comment 3 Brion Vibber 2005-03-26 21:34:32 UTC
There are some inconsistencies in behavior.

* nothing is displayed on preview (should it be? should there be a distinct alternate value?)
* nothing is displayed in diff view (it should be)
Comment 4 Antoine "hashar" Musso (WMF) 2005-03-29 16:40:42 UTC
It's working now.
Because the diffengine is fetching article content directly,
Article::mRevIdFetched was not properly set.

There is still a problem with the diffengine as there is
three ways to show the diff for the last revision :(

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