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