Index: trunk/phase3/maintenance/language/messages.inc |
— | — | @@ -1948,6 +1948,7 @@ |
1949 | 1949 | 'sp-contributions-newbies-title', |
1950 | 1950 | 'sp-contributions-blocklog', |
1951 | 1951 | 'sp-contributions-deleted', |
| 1952 | + 'sp-contributions-uploads', |
1952 | 1953 | 'sp-contributions-logs', |
1953 | 1954 | 'sp-contributions-talk', |
1954 | 1955 | 'sp-contributions-userrights', |
Index: trunk/phase3/includes/specials/SpecialListfiles.php |
— | — | @@ -48,7 +48,7 @@ |
49 | 49 | $this->mDefaultDirection = false; |
50 | 50 | } |
51 | 51 | |
52 | | - $userName = $wgRequest->getText( 'username', $par ); |
| 52 | + $userName = $wgRequest->getText( 'user', $par ); |
53 | 53 | if ( $userName ) { |
54 | 54 | $nt = Title::newFromText( $userName, NS_USER ); |
55 | 55 | if ( !is_null( $nt ) ) { |
— | — | @@ -204,10 +204,10 @@ |
205 | 205 | 'id' => 'mw-ilsearch', |
206 | 206 | ) ); |
207 | 207 | } |
208 | | - $inputForm['username'] = Html::input( 'username', $this->mUserName, 'text', array( |
| 208 | + $inputForm['username'] = Html::input( 'user', $this->mUserName, 'text', array( |
209 | 209 | 'size' => '40', |
210 | 210 | 'maxlength' => '255', |
211 | | - 'id' => 'mw-listfiles-username', |
| 211 | + 'id' => 'mw-listfiles-user', |
212 | 212 | ) ); |
213 | 213 | $s = Html::openElement( 'form', array( 'method' => 'get', 'action' => $wgScript, 'id' => 'mw-listfiles-form' ) ) . |
214 | 214 | Xml::fieldset( wfMsg( 'listfiles' ) ) . |
Index: trunk/phase3/includes/specials/SpecialContributions.php |
— | — | @@ -227,6 +227,14 @@ |
228 | 228 | ) |
229 | 229 | ); |
230 | 230 | } |
| 231 | + # Uploads |
| 232 | + $tools[] = $sk->linkKnown( |
| 233 | + SpecialPage::getTitleFor( 'Listfiles' ), |
| 234 | + wfMsgHtml( 'sp-contributions-uploads' ), |
| 235 | + array(), |
| 236 | + array( 'user' => $nt->getText() ) |
| 237 | + ); |
| 238 | + |
231 | 239 | # Other logs link |
232 | 240 | $tools[] = $sk->linkKnown( |
233 | 241 | SpecialPage::getTitleFor( 'Log' ), |
Index: trunk/phase3/languages/messages/MessagesEn.php |
— | — | @@ -2925,6 +2925,7 @@ |
2926 | 2926 | 'sp-contributions-newbies-title' => 'User contributions for new accounts', |
2927 | 2927 | 'sp-contributions-blocklog' => 'block log', |
2928 | 2928 | 'sp-contributions-deleted' => 'deleted user contributions', |
| 2929 | +'sp-contributions-uploads' => 'uploads', |
2929 | 2930 | 'sp-contributions-logs' => 'logs', |
2930 | 2931 | 'sp-contributions-talk' => 'talk', |
2931 | 2932 | 'sp-contributions-userrights' => 'user rights management', |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -214,6 +214,7 @@ |
215 | 215 | Parameters: $1 shows the formatted textsize in Byte/KB/MB, $2 is the raw |
216 | 216 | number of the textsize in Byte |
217 | 217 | * (bug 3276) Give image <gallery>s fluid width |
| 218 | +* Added uploads link to page subtitle in Special:Contributions |
218 | 219 | |
219 | 220 | === Bug fixes in 1.17 === |
220 | 221 | * (bug 17560) Half-broken deletion moved image files to deletion archive |