Bug 9751: "Cite this page" always returns a citation for the current revision of the page, not the revision that the user was looking at.

This commit is contained in:
Nick Jenkins 2007-05-01 08:38:31 +00:00
parent daa7d33a5a
commit 1a486d5295

View file

@ -44,7 +44,7 @@ function wfSpecialCiteNav( &$skintemplate, &$nav_urls, &$oldid, &$revid ) {
if ( $skintemplate->mTitle->getNamespace() === NS_MAIN && $revid !== 0 )
$nav_urls['cite'] = array(
'text' => wfMsg( 'cite_article_link' ),
'href' => $skintemplate->makeSpecialUrl( 'Cite', "page=" . wfUrlencode( "{$skintemplate->thispage}" ) . "&id=$revid" )
'href' => $skintemplate->makeSpecialUrl( 'Cite', "page=" . wfUrlencode( "{$skintemplate->thispage}" ) . "&id=$oldid" )
);
return true;