Index: trunk/phase3/maintenance/language/messages.inc |
— | — | @@ -1185,6 +1185,9 @@ |
1186 | 1186 | 'sp-contributions-older', |
1187 | 1187 | 'sp-contributions-newbies-sub', |
1188 | 1188 | 'sp-contributions-blocklog', |
| 1189 | + 'sp-contributions-search', |
| 1190 | + 'sp-contributions-username', |
| 1191 | + 'sp-contributions-submit', |
1189 | 1192 | ), |
1190 | 1193 | 'newimages-showfrom' => array( |
1191 | 1194 | 'sp-newimages-showfrom', |
Index: trunk/phase3/includes/SpecialContributions.php |
— | — | @@ -199,13 +199,13 @@ |
200 | 200 | |
201 | 201 | $target = isset( $par ) ? $par : $wgRequest->getVal( 'target' ); |
202 | 202 | if ( !strlen( $target ) ) { |
203 | | - $wgOut->showErrorPage( 'notargettitle', 'notargettext' ); |
| 203 | + $wgOut->addHTML( contributionsForm( '' ) ); |
204 | 204 | return; |
205 | 205 | } |
206 | 206 | |
207 | 207 | $nt = Title::newFromURL( $target ); |
208 | 208 | if ( !$nt ) { |
209 | | - $wgOut->showErrorPage( 'notargettitle', 'notargettext' ); |
| 209 | + $wgOut->addHTML( contributionsForm( '' ) ); |
210 | 210 | return; |
211 | 211 | } |
212 | 212 | |
— | — | @@ -379,23 +379,20 @@ |
380 | 380 | |
381 | 381 | $options['title'] = $wgTitle->getPrefixedText(); |
382 | 382 | |
383 | | - $f = "<form method='get' action=\"$wgScript\">\n"; |
| 383 | + $f = Xml::openElement( 'form', array( 'method' => 'get', 'action' => $wgScript ) ); |
| 384 | + |
384 | 385 | foreach ( $options as $name => $value ) { |
385 | 386 | if( $name === 'namespace') continue; |
386 | | - $f .= "\t" . wfElement( 'input', array( |
387 | | - 'name' => $name, |
388 | | - 'type' => 'hidden', |
389 | | - 'value' => $value ) ) . "\n"; |
| 387 | + $f .= "\t" . Xml::hidden( $name, $value ) . "\n"; |
390 | 388 | } |
391 | 389 | |
392 | | - $f .= '<p>' . wfMsgHtml( 'namespace' ) . ' ' . |
393 | | - HTMLnamespaceselector( $options['namespace'], '' ) . |
394 | | - wfElement( 'input', array( |
395 | | - 'type' => 'submit', |
396 | | - 'value' => wfMsg( 'allpagessubmit' ) ) |
397 | | - ) . |
398 | | - "</p></form>\n"; |
399 | | - |
| 390 | + $f .= '<fieldset>' . |
| 391 | + Xml::element( 'legend', array(), wfMsg( 'sp-contributions-search' ) ) . |
| 392 | + Xml::inputLabel( wfMsg( 'sp-contributions-username' ), 'target', 'target', 20 , $options['target']) . ' ' . |
| 393 | + wfMsgHtml( 'namespace' ) . ' ' . |
| 394 | + Xml::namespaceSelector( $options['namespace'], '' ) . |
| 395 | + Xml::submitButton( wfMsg( 'ipblocklist-submit' ) ) . |
| 396 | + '</fieldset></form>\n'; |
400 | 397 | return $f; |
401 | 398 | } |
402 | 399 | |
Index: trunk/phase3/includes/SpecialPage.php |
— | — | @@ -112,7 +112,7 @@ |
113 | 113 | 'Prefixindex' => array( 'IncludableSpecialPage', 'Prefixindex' ) , |
114 | 114 | 'Ipblocklist' => array( 'SpecialPage', 'Ipblocklist' ), |
115 | 115 | 'Specialpages' => array( 'UnlistedSpecialPage', 'Specialpages' ), |
116 | | - 'Contributions' => array( 'UnlistedSpecialPage', 'Contributions' ), |
| 116 | + 'Contributions' => array( 'SpecialPage', 'Contributions' ), |
117 | 117 | 'Emailuser' => array( 'UnlistedSpecialPage', 'Emailuser' ), |
118 | 118 | 'Whatlinkshere' => array( 'UnlistedSpecialPage', 'Whatlinkshere' ), |
119 | 119 | 'Recentchangeslinked' => array( 'UnlistedSpecialPage', 'Recentchangeslinked' ), |
Index: trunk/phase3/languages/messages/MessagesEn.php |
— | — | @@ -1844,12 +1844,15 @@ |
1845 | 1845 | 'uctop' => ' (top)' , |
1846 | 1846 | 'newbies' => 'newbies', |
1847 | 1847 | |
1848 | | -'sp-contributions-newest' => 'Newest', |
1849 | | -'sp-contributions-oldest' => 'Oldest', |
1850 | | -'sp-contributions-newer' => 'Newer $1', |
1851 | | -'sp-contributions-older' => 'Older $1', |
| 1848 | +'sp-contributions-newest' => 'Newest', |
| 1849 | +'sp-contributions-oldest' => 'Oldest', |
| 1850 | +'sp-contributions-newer' => 'Newer $1', |
| 1851 | +'sp-contributions-older' => 'Older $1', |
1852 | 1852 | 'sp-contributions-newbies-sub' => 'For newbies', |
1853 | 1853 | 'sp-contributions-blocklog' => 'Block log', |
| 1854 | +'sp-contributions-search' => 'Search for contributions', |
| 1855 | +'sp-contributions-username' => 'IP Address or username:', |
| 1856 | +'sp-contributions-submit' => 'Search', |
1854 | 1857 | |
1855 | 1858 | 'sp-newimages-showfrom' => 'Show new images starting from $1', |
1856 | 1859 | |
Index: trunk/phase3/languages/messages/MessagesDe.php |
— | — | @@ -1408,7 +1408,7 @@ |
1409 | 1409 | 'contributions' => 'Benutzerbeiträge', |
1410 | 1410 | 'mycontris' => 'Eigene Beiträge', |
1411 | 1411 | 'contribsub' => 'Für $1', |
1412 | | -'nocontribs' => 'Es wurden keine Änderungen für diese Kriterien gefunden.', |
| 1412 | +'nocontribs' => 'Es wurden keine Benutzerbeiträge mit diesen Kriterien gefunden.', |
1413 | 1413 | 'ucnote' => 'Dies sind die letzten <b>$1</b> Beiträge des Benutzers in den letzten <b>$2</b> Tagen.', |
1414 | 1414 | 'uclinks' => 'Zeige die letzten $1 Beiträge; zeige die letzten $2 Tage.', |
1415 | 1415 | 'uctop' => ' (aktuell)', |
— | — | @@ -1420,6 +1420,9 @@ |
1421 | 1421 | 'sp-contributions-older' => 'Ältere $1', |
1422 | 1422 | 'sp-contributions-newbies-sub' => 'Für Neulinge', |
1423 | 1423 | 'sp-contributions-blocklog' => 'Sperrlogbuch', |
| 1424 | +'sp-contributions-search' => 'Suche nach Benutzerbeiträgen', |
| 1425 | +'sp-contributions-username' => 'IP-Adresse oder Benutzername:', |
| 1426 | +'sp-contributions-submit' => 'Suche', |
1424 | 1427 | |
1425 | 1428 | 'sp-newimages-showfrom' => 'Zeige neue Dateien ab $1', |
1426 | 1429 | |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -248,8 +248,9 @@ |
249 | 249 | * (bug 9155) Allow footer info to wrap in Monobook |
250 | 250 | * (bug 8847) Strip spurious #fragments from request URI to fix redirect |
251 | 251 | loops on some server configurations |
| 252 | +* (bug 9118) Show deletion log on confirmdelete |
| 253 | +* (bug 9009) Add username entry field to Special:Contributions |
252 | 254 | |
253 | | - |
254 | 255 | == Languages updated == |
255 | 256 | |
256 | 257 | * Arabic (ar) |