Index: trunk/extensions/CentralAuth/SpecialCentralAuth.php |
— | — | @@ -10,7 +10,7 @@ |
11 | 11 | function execute( $subpage ) { |
12 | 12 | global $wgOut; |
13 | 13 | global $wgExtensionAssetsPath, $wgCentralAuthStyleVersion; |
14 | | - global $wgUser, $wgRequest; |
| 14 | + global $wgUser, $wgRequest, $wgContLang; |
15 | 15 | $this->setHeaders(); |
16 | 16 | |
17 | 17 | $this->mCanUnmerge = $wgUser->isAllowed( 'centralauth-unmerge' ); |
— | — | @@ -28,6 +28,8 @@ |
29 | 29 | trim( |
30 | 30 | str_replace( '_', ' ', |
31 | 31 | $wgRequest->getText( 'target', $subpage ) ) ); |
| 32 | + |
| 33 | + $this->mUserName = $wgContLang->ucfirst( $this->mUserName ); |
32 | 34 | |
33 | 35 | $this->mPosted = $wgRequest->wasPosted(); |
34 | 36 | $this->mMethod = $wgRequest->getVal( 'wpMethod' ); |