Last modified: 2011-03-13 18:06:39 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 T25875, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 23875 - New subst-only magic word: revision id going to be used
New subst-only magic word: revision id going to be used
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
1.17.x
All All
: Lowest enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-06-10 09:08 UTC by Liangent
Modified: 2011-03-13 18:06 UTC (History)
1 user (show)

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


Attachments

Description Liangent 2010-06-10 09:08:19 UTC
Assume the new magic word is R.

When a new revision is being saved, replace {{subst:R}} in the page with the revision id of the revision being written. It will be more convenient to make pages like [[meta:Identification noticeboard]] if that is implemented.
Comment 1 Conrad Irwin 2010-06-10 11:46:31 UTC
This is not realistically possible as you can't know what the revision ID will be until after it has been saved to the database - at which point you can't change the text of the revision.

Perhaps acceptable would be to have an index.php parameter for "the revision after" that you could use if bug 23876 were fixed, or for "revision at timestamp". Both would have marginal failure cases with simultaneous edits (which you could further refine by filtering by revisionuser too).

I think we WONTFIX this bug as described - it'd be vastly easier to write a bot that does what you want in the exceedingly few cases this behaviour would be useful.

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


Navigation
Links