Index: trunk/phase3/maintenance/language/messages.inc |
— | — | @@ -3171,4 +3171,5 @@ |
3172 | 3172 | 'userrights' => 'Not used as normal message but as header for the special page itself', |
3173 | 3173 | 'revision-info' => 'Additionally available: $3: revision id', |
3174 | 3174 | 'revision-info-current' => 'Available parameters: $1: timestamp; $2: userlinks; $3: revision id', |
| 3175 | + 'nocontribs' => 'Optional parameter: $1 is the user name', |
3175 | 3176 | ); |
Index: trunk/phase3/CREDITS |
— | — | @@ -60,6 +60,7 @@ |
61 | 61 | * Brent G |
62 | 62 | * Brianna Laugher |
63 | 63 | * Carlin |
| 64 | +* church of emacs |
64 | 65 | * Daniel Arnold |
65 | 66 | * Danny B. |
66 | 67 | * FunPika |
Index: trunk/phase3/includes/specials/SpecialContributions.php |
— | — | @@ -95,7 +95,7 @@ |
96 | 96 | |
97 | 97 | $pager = new ContribsPager( $target, $this->opts['namespace'], $this->opts['year'], $this->opts['month'] ); |
98 | 98 | if( !$pager->getNumRows() ) { |
99 | | - $wgOut->addWikiMsg( 'nocontribs' ); |
| 99 | + $wgOut->addWikiMsg( 'nocontribs', $target ); |
100 | 100 | return; |
101 | 101 | } |
102 | 102 | |
Index: trunk/phase3/languages/messages/MessagesEn.php |
— | — | @@ -2556,7 +2556,7 @@ |
2557 | 2557 | 'contributions-title' => 'User contributions for $1', |
2558 | 2558 | 'mycontris' => 'My contributions', |
2559 | 2559 | 'contribsub2' => 'For $1 ($2)', |
2560 | | -'nocontribs' => 'No changes were found matching these criteria.', |
| 2560 | +'nocontribs' => 'No changes were found matching these criteria.', # optional parameter: $1 is the user name |
2561 | 2561 | 'uctop' => '(top)', |
2562 | 2562 | 'month' => 'From month (and earlier):', |
2563 | 2563 | 'year' => 'From year (and earlier):', |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -119,6 +119,8 @@ |
120 | 120 | line |
121 | 121 | * Add logging to password resets if not resetting your own |
122 | 122 | * Added $wgUseTagFilter to control enabling of filter-by-change-tag |
| 123 | +* (bug 17291) MediaWiki:Nocontribs now has an optional $1 parameter for the |
| 124 | + username |
123 | 125 | |
124 | 126 | === Bug fixes in 1.15 === |
125 | 127 | * (bug 16968) Special:Upload no longer throws useless warnings. |
— | — | @@ -345,4 +347,4 @@ |
346 | 348 | |
347 | 349 | === IRC help === |
348 | 350 | |
349 | | -There's usually someone online in #mediawiki on irc.freenode.net |
| 351 | +There's usually someone online in #mediawiki on irc.freenode.net |
\ No newline at end of file |