mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CiteThisPage
synced 2024-11-24 07:33:49 +00:00
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:
parent
daa7d33a5a
commit
1a486d5295
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue