Index: trunk/extensions/Renameuser/SpecialRenameuser_body.php |
— | — | @@ -201,7 +201,7 @@ |
202 | 202 | $rename->rename(); |
203 | 203 | |
204 | 204 | $log = new LogPage( 'renameuser' ); |
205 | | - $log->addEntry( 'renameuser', $oldusername, wfMsgForContent( 'renameuser-log', $wgContLang->formatNum( $contribs ), $reason ), $newusername->getText() ); |
| 205 | + $log->addEntry( 'renameuser', $oldusername, wfMsgExt( 'renameuser-log', array( 'parsemag', 'content' ), $wgContLang->formatNum( $contribs ), $reason ), $newusername->getText() ); |
206 | 206 | |
207 | 207 | $wgOut->addWikiText( "<div class=\"successbox\">" . wfMsg( 'renameusersuccess', $oldusername->getText(), $newusername->getText() ) . "</div><br style=\"clear:both\" />" ); |
208 | 208 | |
Index: trunk/extensions/Renameuser/SpecialRenameuser.i18n.php |
— | — | @@ -25,7 +25,7 @@ |
26 | 26 | 'renameuserlogpage' => 'User rename log', |
27 | 27 | 'renameuserlogpagetext' => 'This is a log of changes to user names', |
28 | 28 | 'renameuserlogentry' => 'has renamed $1 to $2', |
29 | | - 'renameuser-log' => '$1 edits. Reason: $2', |
| 29 | + 'renameuser-log' => '{{PLURAL:$1|1 edit|$1 edits}}. Reason: $2', |
30 | 30 | 'renameuser-move-log' => 'Automatically moved page while renaming the user "[[User:$1|$1]]" to "[[User:$2|$2]]"', |
31 | 31 | ); |
32 | 32 | |
— | — | @@ -209,7 +209,7 @@ |
210 | 210 | 'renameuserlogpage' => 'Benutzernamenänderungs-Logbuch', |
211 | 211 | 'renameuserlogpagetext' => 'In diesem Logbuch werden die Änderungen von Benutzernamen protokolliert.', |
212 | 212 | 'renameuserlogentry' => 'hat „$1“ in „$2“ umbenannt', |
213 | | - 'renameuser-log' => '$1 Bearbeitungen. Grund: $2', |
| 213 | + 'renameuser-log' => '{{PLURAL:$1|1 Bearbeitung|$1 Bearbeitungen}}. Grund: $2', |
214 | 214 | 'renameuser-move-log' => 'durch die Umbenennung von „[[{{ns:user}}:$1]]“ nach „[[{{ns:user}}:$2]]“ automatisch verschobene Seite.', |
215 | 215 | ); |
216 | 216 | |
Index: trunk/extensions/Renameuser/SpecialRenameuser.php |
— | — | @@ -19,6 +19,7 @@ |
20 | 20 | 'author' => 'Ævar Arnfjörð Bjarmason', |
21 | 21 | 'url' => 'http://www.mediawiki.org/wiki/Extension:Renameuser', |
22 | 22 | 'description' => 'Rename a user (need \'\'renameuser\'\' right)', |
| 23 | + 'version' => '2008-01-14', |
23 | 24 | ); |
24 | 25 | |
25 | 26 | # Internationalisation file |