Index: trunk/phase3/includes/filerepo/LocalRepo.php |
— | — | @@ -92,11 +92,6 @@ |
93 | 93 | } |
94 | 94 | |
95 | 95 | function checkRedirect( $title ) { |
96 | | - global $wgFileRedirects; |
97 | | - if( !$wgFileRedirects ) { |
98 | | - return false; |
99 | | - } |
100 | | - |
101 | 96 | if( $title instanceof Title && $title->getNamespace() == NS_MEDIA ) { |
102 | 97 | $title = Title::makeTitle( NS_IMAGE, $title->getText() ); |
103 | 98 | } |
Index: trunk/phase3/includes/DefaultSettings.php |
— | — | @@ -461,12 +461,7 @@ |
462 | 462 | */ |
463 | 463 | $wgRepositoryBaseUrl = "http://commons.wikimedia.org/wiki/Image:"; |
464 | 464 | |
465 | | -/** |
466 | | - * If enabled, MediaWiki checks redirects in Image: namespace. |
467 | | - */ |
468 | | -$wgFileRedirects = true; |
469 | 465 | |
470 | | - |
471 | 466 | # |
472 | 467 | # Email settings |
473 | 468 | # |