Index: trunk/phase3/includes/SpecialLog.php |
— | — | @@ -397,9 +397,7 @@ |
398 | 398 | 'action=unblock&ip=' . urlencode( $s->log_title ) ) . ')'; |
399 | 399 | // show change protection link |
400 | 400 | } elseif ( ( $s->log_action == 'protect' || $s->log_action == 'modify' ) && $wgUser->isAllowed( 'protect' ) ) { |
401 | | - $revert = '(' . $skin->makeKnownLink( $title->getPrefixedDBkey() , |
402 | | - wfMsg( 'protect_change' ), |
403 | | - 'action=unprotect' ) . ')'; |
| 401 | + $revert = '(' . $skin->makeKnownLinkObj( $title, wfMsg( 'protect_change' ), 'action=unprotect' ) . ')'; |
404 | 402 | // show user tool links for self created users |
405 | 403 | // TODO: The extension should be handling this, get it out of core! |
406 | 404 | } elseif ( $s->log_action == 'create2' ) { |