Index: trunk/extensions/Renameuser/SpecialRenameuser.i18n.php |
— | — | @@ -34,7 +34,7 @@ |
35 | 35 | |
36 | 36 | 'renameuserlogpage' => 'User rename log', |
37 | 37 | 'renameuserlogpagetext' => 'This is a log of changes to user names.', |
38 | | - 'renameuserlogentry' => 'has renamed [[User:$1|$1]] to "[[User:$2|$2]]"', |
| 38 | + 'renameuserlogentry' => 'has renamed $1 to "$2"', |
39 | 39 | 'renameuser-log' => '{{PLURAL:$1|1 edit|$1 edits}}. Reason: $2', |
40 | 40 | 'renameuser-move-log' => 'Automatically moved page while renaming the user "[[User:$1|$1]]" to "[[User:$2|$2]]"', |
41 | 41 | |
Index: trunk/extensions/Renameuser/SpecialRenameuser.php |
— | — | @@ -48,8 +48,11 @@ |
49 | 49 | if( !$title || $title->getNamespace() !== NS_USER ) { |
50 | 50 | $rv = ''; // handled in comment, the old way |
51 | 51 | } else { |
52 | | - array_unshift( $params, $title->getText() ); |
53 | | - $rv = wfMsgExt( 'renameuserlogentry', array('parseinline'), $params ); |
| 52 | + $titleLink = $skin ? |
| 53 | + $skin->makeLinkObj( $title, htmlspecialchars( $title->getPrefixedText() ) ) : $title->getText(); |
| 54 | + # Add title to params |
| 55 | + array_unshift( $params, $titleLink ); |
| 56 | + $rv = wfMsgReal( 'renameuserlogentry', $params ); |
54 | 57 | } |
55 | 58 | return $rv; |
56 | 59 | } |