From: Alexandre Emsenhuber Date: Tue, 16 Dec 2008 11:41:51 +0000 (+0000) Subject: Fix for r44657: correct usage of SpecialPage::getTitleFor() X-Git-Tag: 1.31.0-rc.0~43938 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=a50f6322f8af7bf75193eca1fe4df7093d9b7d2d;p=lhc%2Fweb%2Fwiklou.git Fix for r44657: correct usage of SpecialPage::getTitleFor() --- diff --git a/includes/LogEventsList.php b/includes/LogEventsList.php index 71ee13a305..05f5d25d9d 100644 --- a/includes/LogEventsList.php +++ b/includes/LogEventsList.php @@ -276,7 +276,7 @@ class LogEventsList { array( 'action' => 'unblock', 'ip' => urlencode( $row->log_title ) ), 'known' ) . ' ' . wfMsg( 'pipe-separator' ) . ' ' . - $this->skin->link( SpecialPage::getTitleFor( 'BlockIP/' . htmlspecialchars( $row->log_title ) ), + $this->skin->link( SpecialPage::getTitleFor( 'Blockip', htmlspecialchars( $row->log_title ) ), $this->message['change-blocklink'], array(), array(), 'known' ) . ')'; diff --git a/includes/specials/SpecialIpblocklist.php b/includes/specials/SpecialIpblocklist.php index 2f3c4bb002..6dab84a4fb 100644 --- a/includes/specials/SpecialIpblocklist.php +++ b/includes/specials/SpecialIpblocklist.php @@ -434,7 +434,7 @@ class IPUnblockForm { # Create changeblocklink for all blocks with exception of autoblocks if( !$block->mAuto ) { $changeblocklink = ' ' . wfMsg( 'pipe-separator' ) . ' ' . - $sk->link( SpecialPage::getTitleFor( 'BlockIP/' . htmlspecialchars( $block->mAddress ) ), + $sk->link( SpecialPage::getTitleFor( 'Blockip', htmlspecialchars( $block->mAddress ) ), $msg['change-blocklink'], array(), array(), 'known' ); }