Page MenuHomePhabricator

Old version of articles should transclude the version of the templates used at the time of that revision
Closed, DuplicatePublic

Description

Suppose on June 2004, a user read the article "President of the United States", and wanted to cite the information available on the graphical timeline which is shown there.
The recommended way to do so, is to use a "permanent" link, like this:
https://en.wikipedia.org/w/index.php?title=President_of_the_United_States&oldid=4317639#Graphical_Timeline

It is not rare that the content of some tables, timelines, and so on are defined inside of templates.
And this is exactly the case in the above example.
As you can verify, the timeline was added on this change:
https://en.wikipedia.org/w/index.php?title=President_of_the_United_States&diff=prev&oldid=4317639
which included the content of the first version of the timeline (dated from 27 June 2004):
https://en.wikipedia.org/w/index.php?title=Template:Timeline_US_Presidents_2&oldid=4303810&diff=prev

Now, here is the problem: for someone which reads in 2012 the content of the work which cited that old version of the article, the "permanent link" will show a page from 2004 saying that Barack Obama would be president on 2009!
In other words, old version of the pages transcludes the newer version of the templates, which makes the 2004 version of the article to contain the 2012 version of the timeline, not the one from 2004!

This behavior is bad not only for citations, but also for people trying to navigate through old discussions.
E.g.: if someone is trying to understand why the formatting of some template was changed, or how it evolved to its current form, it is possible he/she will find a discussion in which at some point one editor transcluded the template (when e.g. it had a red text somewhere), and the talk may be completely out of context (because the current version has no red text at all).

(A similar and more difficult problem happens with magic words. E.g.:
http://en.wikipedia.org/w/index.php?title=Wikipedia:About&diff=prev&oldid=292419185
shows the revision as of 11:32, 26 May 2009, but it has information which is from 8 March 2012, such as the number of articles, and the software version.
But I don't think this one would be feasible, since the value of these things depend a lot more on the state of the wiki database at a given time.)


Version: 1.19
Severity: enhancement
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=49143

Details

Reference
bz35066

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 12:19 AM
bzimport set Reference to bz35066.
bzimport added a subscriber: Unknown Object (MLST).
  • This bug has been marked as a duplicate of bug 851 ***