summaryrefslogtreecommitdiff
path: root/includes/SpecialBlockme.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/SpecialBlockme.php')
-rw-r--r--includes/SpecialBlockme.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/includes/SpecialBlockme.php b/includes/SpecialBlockme.php
index da2757ac..6c9dea06 100644
--- a/includes/SpecialBlockme.php
+++ b/includes/SpecialBlockme.php
@@ -13,13 +13,12 @@ function wfSpecialBlockme() {
$ip = wfGetIP();
if( !$wgBlockOpenProxies || $wgRequest->getText( 'ip' ) != md5( $ip . $wgProxyKey ) ) {
- $wgOut->addWikiText( wfMsg( 'disabled' ) );
+ $wgOut->addWikiMsg( 'proxyblocker-disabled' );
return;
}
$blockerName = wfMsg( "proxyblocker" );
$reason = wfMsg( "proxyblockreason" );
- $success = wfMsg( "proxyblocksuccess" );
$u = User::newFromName( $blockerName );
$id = $u->idForName();
@@ -34,6 +33,6 @@ function wfSpecialBlockme() {
$block = new Block( $ip, 0, $id, $reason, wfTimestampNow() );
$block->insert();
- $wgOut->addWikiText( $success );
+ $wgOut->addWikiMsg( "proxyblocksuccess" );
}