r32571 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r32570‎ | r32571 | r32572 >
Date:18:52, 29 March 2008
Author:vasilievvv
Status:old
Tags:
Comment:
Drop it at all. It's stable
Modified paths:
  • /trunk/phase3/includes/DefaultSettings.php (modified) (history)
  • /trunk/phase3/includes/filerepo/LocalRepo.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/filerepo/LocalRepo.php
@@ -92,11 +92,6 @@
9393 }
9494
9595 function checkRedirect( $title ) {
96 - global $wgFileRedirects;
97 - if( !$wgFileRedirects ) {
98 - return false;
99 - }
100 -
10196 if( $title instanceof Title && $title->getNamespace() == NS_MEDIA ) {
10297 $title = Title::makeTitle( NS_IMAGE, $title->getText() );
10398 }
Index: trunk/phase3/includes/DefaultSettings.php
@@ -461,12 +461,7 @@
462462 */
463463 $wgRepositoryBaseUrl = "http://commons.wikimedia.org/wiki/Image:";
464464
465 -/**
466 - * If enabled, MediaWiki checks redirects in Image: namespace.
467 - */
468 -$wgFileRedirects = true;
469465
470 -
471466 #
472467 # Email settings
473468 #

Status & tagging log