(bug 7958) Special:Cite of older version of an article should use old version id.
authorNick Jenkins <nickj@users.mediawiki.org>
Thu, 3 May 2007 06:08:12 +0000 (06:08 +0000)
committerNick Jenkins <nickj@users.mediawiki.org>
Thu, 3 May 2007 06:08:12 +0000 (06:08 +0000)
commit1a60bd4c8434f9838c8eaf17d3f3218a916982a1
tree3fd0d2b1d8bbadd0270104f3b2b178b8f6f82d8b
parent84c10464d1e365b709b252047d458ebab662d1ad
(bug 7958) Special:Cite of older version of an article should use old version id.
Applying Brion's patch, with one-line tweak:
 - uses the existing Skin/$wgOut-based revision ID record, rather than oldid value from WebRequest.
 - additionally sets it to the current revision for parser cache hits (where
   it was not previously needed, since it was only used to feed to parser objects
   to fill the {{REVISIONID}} variable).
 - Explicit declaration of the existing $mRevisionId data member in Skin.
 - "Permanent link" should now work too when paging through historical versions (previously it
   would be greyed out when paging backwards or forwards through old revisions).
RELEASE-NOTES
includes/Article.php
includes/Skin.php
includes/SkinTemplate.php