Last modified: 2014-08-05 11:02:18 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 T71138, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 69138 - {{subst:REVISIONID}} does not work, but {{subst:REVISIONDAY}}, {{subst:REVISIONDAY2}}, {{subst:REVISIONMONTH}}, {{subst:REVISIONYEAR}}, {{subst:REVISIONTIMESTAMP}} and {{subst:REVISIONUSER}} all work fine. This is inconsistent.
{{subst:REVISIONID}} does not work, but {{subst:REVISIONDAY}}, {{subst:REVISI...
Status: RESOLVED DUPLICATE of bug 6181
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
unspecified
All All
: Unprioritized enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-08-05 03:06 UTC by GregH
Modified: 2014-08-05 11:02 UTC (History)
1 user (show)

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


Attachments

Description GregH 2014-08-05 03:06:58 UTC
I am aware that this issue has been reported in the past (https://bugzilla.wikimedia.org/show_bug.cgi?id=6181) and closed as WONTFIX, which is bad, because as I outline in the summary, the 6 other related {{REVISION}} magic words all work with the subst: operator, so REVISIONID should work in the same way as well.

I am perfectly aware that it is "difficult" to get this to work with the 'current' revisionid when someone saves the page, because the revisionid is not available at that instant. The exact same logic applies to the other 6 magic words, and yet they still return values when coupled with "subst:".

Rather than just saying "oh well, it doesn't work", this should actually be fixed so that REVISIONID works the same way as the other 6 magic words: that is, it records the latest revision id of the page at the time the edit was saved, if not the revision id of the saved page itself.

This would allow templates that create permanent links to particular revisions to work. At the moment it is impossible to do this.
Comment 1 Andre Klapper 2014-08-05 11:02:18 UTC
If I understand it correctly, this is a duplicate of bug 6181 so the discussion (and any potential new arguments) should be centralized in one place, which is bug 6181.
Closing as duplicate.

*** This bug has been marked as a duplicate of bug 6181 ***

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


Navigation
Links