Index: trunk/extensions/Newuserlog/Newuserlog.php |
— | — | @@ -15,7 +15,7 @@ |
16 | 16 | $wgExtensionFunctions[] = 'wfNewuserlog'; |
17 | 17 | $wgExtensionCredits['other'][] = array( |
18 | 18 | 'name' => 'Newuserlog', |
19 | | - 'description' => 'adds a [[Special:Log/newusers|log of recent account creations]] to [[Special:Log]]', |
| 19 | + 'description' => 'adds a [[Special:Log/newusers|log of account creations]] to [[Special:Log]]', |
20 | 20 | 'author' => 'Ævar Arnfjörð Bjarmason' |
21 | 21 | ); |
22 | 22 | |
— | — | @@ -27,7 +27,7 @@ |
28 | 28 | 'newuserlogpage' => 'User creation log', |
29 | 29 | 'newuserlogpagetext' => 'This is a log of recent user creations', |
30 | 30 | 'newuserlogentry' => '', |
31 | | - 'newuserloglog' => "Created the user [[User:$1|$1]] ([[User talk:$1|$2]] | [[Special:Contributions/$1|$3]])" |
| 31 | + 'newuserloglog' => "New user ([[User talk:$1|$2]] | [[Special:Contributions/$1|$3]] | [[Special:Block/$1|$4]])" |
32 | 32 | ) |
33 | 33 | ); |
34 | 34 | |
— | — | @@ -46,9 +46,10 @@ |
47 | 47 | |
48 | 48 | $talk = $wgContLang->getFormattedNsText( NS_TALK ); |
49 | 49 | $contribs = wfMsgForContent( 'contribslink' ); |
| 50 | + $block = wfMsgForContent( 'blocklink' ); |
50 | 51 | |
51 | 52 | $log = new LogPage( 'newusers' ); |
52 | | - $log->addEntry( 'newusers', $wgTitle, wfMsgForContent( 'newuserloglog', $wgUser->getName(), $talk, $contribs ) ); |
| 53 | + $log->addEntry( 'newusers', $wgTitle, wfMsgForContent( 'newuserloglog', $wgUser->getName(), $talk, $contribs, $block ) ); |
53 | 54 | |
54 | 55 | return true; |
55 | 56 | } |