r39601 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r39600‎ | r39601 | r39602 >
Date:18:19, 18 August 2008
Author:aaron
Status:old
Tags:
Comment:
pretty up log some (bug 13567)
Modified paths:
  • /trunk/extensions/Renameuser/SpecialRenameuser.i18n.php (modified) (history)
  • /trunk/extensions/Renameuser/SpecialRenameuser.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Renameuser/SpecialRenameuser.i18n.php
@@ -33,7 +33,7 @@
3434
3535 'renameuserlogpage' => 'User rename log',
3636 'renameuserlogpagetext' => 'This is a log of changes to user names.',
37 - 'renameuserlogentry' => 'has renamed $1 to "$2"',
 37+ 'renameuserlogentry' => 'has renamed [[:$1|$1]] to "[[User:$2|$2]]"',
3838 'renameuser-log' => '{{PLURAL:$1|1 edit|$1 edits}}. Reason: $2',
3939 'renameuser-move-log' => 'Automatically moved page while renaming the user "[[User:$1|$1]]" to "[[User:$2|$2]]"',
4040
Index: trunk/extensions/Renameuser/SpecialRenameuser.php
@@ -49,7 +49,7 @@
5050 $rv = ''; // handled in comment, the old way
5151 } else {
5252 array_unshift( $params, $title );
53 - $rv = wfMsgReal( 'renameuserlogentry', $params, true, !$skin );
 53+ $rv = wfMsgExt( 'renameuserlogentry', array('parseinline'), $params );
5454 }
5555 return $rv;
5656 }

Status & tagging log