Index: trunk/phase3/maintenance/language/messages.inc |
— | — | @@ -541,6 +541,9 @@ |
542 | 542 | 'rev-deleted-text-permission', |
543 | 543 | 'rev-deleted-text-view', |
544 | 544 | 'rev-delundel', |
| 545 | + 'historysize', |
| 546 | + 'historyempty', |
| 547 | + |
545 | 548 | ), |
546 | 549 | 'history-feed' => array( |
547 | 550 | 'history-feed-title', |
— | — | @@ -1183,6 +1186,7 @@ |
1184 | 1187 | 'sp-contributions-oldest', |
1185 | 1188 | 'sp-contributions-newer', |
1186 | 1189 | 'sp-contributions-older', |
| 1190 | + 'sp-contributions-newbies', |
1187 | 1191 | 'sp-contributions-newbies-sub', |
1188 | 1192 | 'sp-contributions-blocklog', |
1189 | 1193 | 'sp-contributions-search', |
Index: trunk/phase3/includes/SpecialContributions.php |
— | — | @@ -198,6 +198,11 @@ |
199 | 199 | global $wgUser, $wgOut, $wgLang, $wgRequest; |
200 | 200 | |
201 | 201 | $target = isset( $par ) ? $par : $wgRequest->getVal( 'target' ); |
| 202 | + $radiobox = $wgRequest->getVal( 'newbie' ); |
| 203 | + |
| 204 | + // check for radiobox |
| 205 | + if ( $radiobox == 'contribs-newbie' ) $target = 'newbies'; |
| 206 | + |
202 | 207 | if ( !strlen( $target ) ) { |
203 | 208 | $wgOut->addHTML( contributionsForm( '' ) ); |
204 | 209 | return; |
— | — | @@ -375,7 +380,7 @@ |
376 | 381 | * @param $options Array: the options to be included. |
377 | 382 | */ |
378 | 383 | function contributionsForm( $options ) { |
379 | | - global $wgScript, $wgTitle; |
| 384 | + global $wgScript, $wgTitle, $wgRequest; |
380 | 385 | |
381 | 386 | $options['title'] = $wgTitle->getPrefixedText(); |
382 | 387 | if (!isset($options['target'])) |
— | — | @@ -392,11 +397,14 @@ |
393 | 398 | |
394 | 399 | $f .= '<fieldset>' . |
395 | 400 | Xml::element( 'legend', array(), wfMsg( 'sp-contributions-search' ) ) . |
396 | | - Xml::inputLabel( wfMsg( 'sp-contributions-username' ), 'target', 'target', 20 , $options['target']) . ' ' . |
397 | | - wfMsgHtml( 'namespace' ) . ' ' . |
| 401 | + Xml::radioLabel( wfMsgExt( 'sp-contributions-newbies', array( 'parseinline' ) ), 'newbie' , 'contribs-newbie' , 'contribs-newbie', 'contribs-newbie' ) . '<br />' . |
| 402 | + Xml::radioLabel( wfMsgExt( 'sp-contributions-username', array( 'parseinline' ) ), 'newbie' , 'contribs-all', 'contribs-all', 'contribs-all' ) . ' ' . |
| 403 | + Xml::input( 'target', 20, $options['target']) . ' '. |
| 404 | + Xml::label( wfMsg( 'namespace' ), 'namespace' ) . |
398 | 405 | Xml::namespaceSelector( $options['namespace'], '' ) . |
399 | 406 | Xml::submitButton( wfMsg( 'sp-contributions-submit' ) ) . |
400 | | - "</fieldset></form>\n"; |
| 407 | + '</fieldset>' . |
| 408 | + Xml::closeElement( 'form' ); |
401 | 409 | return $f; |
402 | 410 | } |
403 | 411 | |
Index: trunk/phase3/languages/messages/MessagesEn.php |
— | — | @@ -1849,6 +1849,7 @@ |
1850 | 1850 | 'sp-contributions-oldest' => 'Oldest', |
1851 | 1851 | 'sp-contributions-newer' => 'Newer $1', |
1852 | 1852 | 'sp-contributions-older' => 'Older $1', |
| 1853 | +'sp-contributions-newbies' => 'Show contributions of newbies only', |
1853 | 1854 | 'sp-contributions-newbies-sub' => 'For newbies', |
1854 | 1855 | 'sp-contributions-blocklog' => 'Block log', |
1855 | 1856 | 'sp-contributions-search' => 'Search for contributions', |
Index: trunk/phase3/languages/messages/MessagesDe.php |
— | — | @@ -720,6 +720,8 @@ |
721 | 721 | Als Administrator können Sie sie weiterhin einsehen. |
722 | 722 | Nähere Angaben zum Löschvorgang sowie eine Begründung finden sich im [{{fullurl:Special:Log/delete|page={{PAGENAMEE}}}} Lösch-Logbuch].</div>', |
723 | 723 | 'rev-delundel' => 'zeige/verstecke', |
| 724 | +'historysize' => '($1 Bytes)', |
| 725 | +'historyempty' => '(leer)', |
724 | 726 | |
725 | 727 | 'history-feed-title' => 'Versionsgeschichte', |
726 | 728 | 'history-feed-description' => 'Versionsgeschichte für diese Seite in {{SITENAME}}', |
— | — | @@ -1424,6 +1426,7 @@ |
1425 | 1427 | 'sp-contributions-oldest' => 'Älteste', |
1426 | 1428 | 'sp-contributions-newer' => 'Jüngere $1', |
1427 | 1429 | 'sp-contributions-older' => 'Ältere $1', |
| 1430 | +'sp-contributions-newbies' => 'Zeige nur Beiträge neuer Benutzer', |
1428 | 1431 | 'sp-contributions-newbies-sub' => 'Für Neulinge', |
1429 | 1432 | 'sp-contributions-blocklog' => 'Sperrlogbuch', |
1430 | 1433 | 'sp-contributions-search' => 'Suche nach Benutzerbeiträgen', |