Index: trunk/phase3/includes/SpecialPage.php |
— | — | @@ -280,6 +280,7 @@ |
281 | 281 | * @return boolean: true if a special page exists with this name |
282 | 282 | */ |
283 | 283 | static function exists( $name ) { |
| 284 | + global $wgContLang; |
284 | 285 | if ( !self::$mListInitialised ) { |
285 | 286 | self::initList(); |
286 | 287 | } |
— | — | @@ -289,7 +290,7 @@ |
290 | 291 | |
291 | 292 | # Remove special pages inline parameters: |
292 | 293 | $bits = explode( '/', $name ); |
293 | | - $name = $bits[0]; |
| 294 | + $name = $wgContLang->caseFold($bits[0]); |
294 | 295 | |
295 | 296 | return |
296 | 297 | array_key_exists( $name, self::$mList ) |