Index: trunk/extensions/Renameuser/SpecialRenameuser_body.php |
— | — | @@ -43,7 +43,7 @@ |
44 | 44 | } |
45 | 45 | |
46 | 46 | $showBlockLog = $wgRequest->getBool( 'submit-showBlockLog' ); |
47 | | - $oldnamePar = trim( str_replace( '_', ' ', $wgRequest->getText( 'oldusername' ) ) ); |
| 47 | + $oldnamePar = trim( str_replace( '_', ' ', $wgRequest->getText( 'oldusername', $par ) ) ); |
48 | 48 | $oldusername = Title::makeTitle( NS_USER, $oldnamePar ); |
49 | 49 | // Force uppercase of newusername, otherwise wikis with wgCapitalLinks=false can create lc usernames |
50 | 50 | $newusername = Title::makeTitleSafe( NS_USER, $wgContLang->ucfirst( $wgRequest->getText( 'newusername' ) ) ); |