diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2008-03-21 11:49:34 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2008-03-21 11:49:34 +0100 |
commit | 086ae52d12011746a75f5588e877347bc0457352 (patch) | |
tree | e73263c7a29d0f94fafb874562610e16eb292ba8 /includes/SpecialBlockme.php | |
parent | 749e7fb2bae7bbda855de3c9e319435b9f698ff7 (diff) |
Update auf MediaWiki 1.12.0
Diffstat (limited to 'includes/SpecialBlockme.php')
-rw-r--r-- | includes/SpecialBlockme.php | 5 |
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" ); } |