Index: trunk/extensions/Cite/SpecialCite.php |
— | — | @@ -41,7 +41,7 @@ |
42 | 42 | } |
43 | 43 | |
44 | 44 | function wfSpecialCiteNav( &$skintemplate, &$nav_urls, &$oldid, &$revid ) { |
45 | | - if ( $skintemplate->mTitle->getNamespace() === NS_MAIN && $revid !== 0 ) |
| 45 | + if ( $skintemplate->mTitle->isContentPage() && $revid !== 0 ) |
46 | 46 | $nav_urls['cite'] = array( |
47 | 47 | 'text' => wfMsg( 'cite_article_link' ), |
48 | 48 | 'href' => $skintemplate->makeSpecialUrl( 'Cite', "page=" . wfUrlencode( "{$skintemplate->thispage}" ) . "&id=$revid" ) |