Index: trunk/extensions/FlaggedRevs/FlaggedRevs.php |
— | — | @@ -957,7 +957,7 @@ |
958 | 958 | global $wgHooks; |
959 | 959 | // Are we using the popular cite extension? |
960 | 960 | if( in_array('wfSpecialCiteNav',$wgHooks['SkinTemplateBuildNavUrlsNav_urlsAfterPermalink']) ) { |
961 | | - if( $sktmp->mTitle->getNamespace() === NS_MAIN && $revid !== 0 ) { |
| 961 | + if( $skintemplate->mTitle->isContentPage() && $revid !== 0 ) { |
962 | 962 | $nav_urls['cite'] = array( |
963 | 963 | 'text' => wfMsg( 'cite_article_link' ), |
964 | 964 | 'href' => $sktmp->makeSpecialUrl( 'Cite', "page=" . wfUrlencode( "{$sktmp->thispage}" ) . "&id={$tfrev->fr_rev_id}" ) |