Index: trunk/phase3/maintenance/tests/TitlePermissionTest.php |
— | — | @@ -76,7 +76,7 @@ |
77 | 77 | |
78 | 78 | function testQuickPermissions() { |
79 | 79 | global $wgContLang; |
80 | | - $prefix = $wgContLang->getNsText( NS_PROJECT ); |
| 80 | + $prefix = $wgContLang->getFormattedNsText( NS_PROJECT ); |
81 | 81 | |
82 | 82 | $this->setUser( 'anon' ); |
83 | 83 | $this->setTitle( NS_TALK ); |
— | — | @@ -330,7 +330,7 @@ |
331 | 331 | $this->setUser( self::$userName ); |
332 | 332 | global $wgUser, $wgContLang; |
333 | 333 | $wgUser = self::$user; |
334 | | - $prefix = $wgContLang->getNsText( NS_PROJECT ); |
| 334 | + $prefix = $wgContLang->getFormattedNsText( NS_PROJECT ); |
335 | 335 | |
336 | 336 | $this->setTitle( NS_SPECIAL ); |
337 | 337 | |
— | — | @@ -436,7 +436,7 @@ |
437 | 437 | function testPageRestrictions() { |
438 | 438 | global $wgUser, $wgContLang; |
439 | 439 | |
440 | | - $prefix = $wgContLang->getNsText( NS_PROJECT ); |
| 440 | + $prefix = $wgContLang->getFormattedNsText( NS_PROJECT ); |
441 | 441 | |
442 | 442 | $wgUser = self::$user; |
443 | 443 | $this->setTitle( NS_MAIN ); |