Index: trunk/phase3/includes/specials/SpecialContributions.php |
— | — | @@ -259,8 +259,13 @@ |
260 | 260 | } |
261 | 261 | # Block log link |
262 | 262 | $tools[] = $sk->linkKnown( |
263 | | - SpecialPage::getTitleFor( 'Log', 'block/' . $username ), |
264 | | - wfMsgHtml( 'sp-contributions-blocklog' ) |
| 263 | + SpecialPage::getTitleFor( 'Log' ), |
| 264 | + wfMsgHtml( 'sp-contributions-blocklog' ), |
| 265 | + array(), |
| 266 | + array( |
| 267 | + 'type' => 'block', |
| 268 | + 'page' => $userpage->getPrefixedText() |
| 269 | + ) |
265 | 270 | ); |
266 | 271 | } |
267 | 272 | # Uploads |
— | — | @@ -271,8 +276,10 @@ |
272 | 277 | |
273 | 278 | # Other logs link |
274 | 279 | $tools[] = $sk->linkKnown( |
275 | | - SpecialPage::getTitleFor( 'Log', $username ), |
276 | | - wfMsgHtml( 'sp-contributions-logs' ) |
| 280 | + SpecialPage::getTitleFor( 'Log' ), |
| 281 | + wfMsgHtml( 'sp-contributions-logs' ), |
| 282 | + array(), |
| 283 | + array( 'user' => $username ) |
277 | 284 | ); |
278 | 285 | |
279 | 286 | # Add link to deleted user contributions for priviledged users |