Index: trunk/extensions/FlaggedRevs/FlaggedRevs.class.php |
— | — | @@ -2276,22 +2276,6 @@ |
2277 | 2277 | return true; |
2278 | 2278 | } |
2279 | 2279 | |
2280 | | - public static function addLocalizedSpecialPageNames( &$extendedSpecialPageAliases, $code ) { |
2281 | | - wfLoadExtensionMessages( 'FlaggedRevsAliases' ); |
2282 | | - # The localized title of the special page is among the messages of the extension: |
2283 | | - $specialPages = array( 'QualityOversight', 'ProblemPages', 'UnreviewedPages', |
2284 | | - 'OldReviewedPages', 'StablePages', 'StableVersions', 'ReviewedPages' ); |
2285 | | - foreach( $specialPages as $specialPage ) { |
2286 | | - $text = wfMsgExt( strtolower( "$specialPage-alias" ), array( 'escape', 'language' => $code ) ); |
2287 | | - $title = Title::newFromText($text); |
2288 | | - if( $title ) { |
2289 | | - $extendedSpecialPageAliases[$specialPage][] = $title->getDBKey(); |
2290 | | - } |
2291 | | - $extendedSpecialPageAliases[$specialPage][] = $specialPage; |
2292 | | - } |
2293 | | - return true; |
2294 | | - } |
2295 | | - |
2296 | 2280 | public static function isFileCacheable( $article ) { |
2297 | 2281 | $fa = FlaggedArticle::getInstance( $article ); |
2298 | 2282 | # If the stable is the default, and we are viewing it...cache it! |