Index: trunk/extensions/Translate/SpecialMyLanguage.php |
— | — | @@ -22,9 +22,9 @@ |
23 | 23 | $title = null; |
24 | 24 | if ( strval($par) !== '' ) { |
25 | 25 | $title = Title::newFromText( $par ); |
26 | | - if ( $title && $title->exists() ) { |
| 26 | + if ( $title && ( $title->exists() || $title->isAlwaysKnown() ) ) { |
27 | 27 | $local = Title::newFromText( "$par/" . $wgLang->getCode() ); |
28 | | - if ( $local && $local->exists() ) { |
| 28 | + if ( $local && ( $local->exists() || $local->isAlwaysKnown() ) ) { |
29 | 29 | $title = $local; |
30 | 30 | } |
31 | 31 | } |