r89412 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r89411‎ | r89412 | r89413 >
Date:12:06, 3 June 2011
Author:nikerabbit
Status:deferred
Tags:
Comment:
Ignore /en subpages, they are more confusing than useful
Modified paths:
  • /trunk/extensions/Translate/specials/SpecialMyLanguage.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/specials/SpecialMyLanguage.php
@@ -33,7 +33,7 @@
3434 $title = null;
3535 if ( strval( $par ) !== '' ) {
3636 $title = Title::newFromText( $par );
37 - if ( $title && $title->exists() ) {
 37+ if ( $title && $title->exists() && $wgLang->getCode() !== 'en' ) {
3838 $local = Title::newFromText( "$par/" . $wgLang->getCode() );
3939 if ( $local && $local->exists() ) {
4040 $title = $local;

Status & tagging log