From: Niklas Laxström Date: Wed, 28 Nov 2007 14:26:30 +0000 (+0000) Subject: E_STRICT: Use $wgParser as we have it around instead of calling statically X-Git-Tag: 1.31.0-rc.0~50680 X-Git-Url: http://git.cyclocoop.org/?a=commitdiff_plain;h=389edb780d966bb3dc90e06033415390ffb389a4;p=lhc%2Fweb%2Fwiklou.git E_STRICT: Use $wgParser as we have it around instead of calling statically --- diff --git a/includes/SpecialPreferences.php b/includes/SpecialPreferences.php index 61270c502b..b8f1385a76 100644 --- a/includes/SpecialPreferences.php +++ b/includes/SpecialPreferences.php @@ -250,7 +250,7 @@ class PreferencesForm { wfMsg( 'badsiglength', $wgLang->formatNum( $wgMaxSigChars ) ) ); return; } elseif( $this->mToggles['fancysig'] ) { - if( Parser::validateSig( $this->mNick ) !== false ) { + if( $wgParser->validateSig( $this->mNick ) !== false ) { $this->mNick = $wgParser->cleanSig( $this->mNick ); } else { $this->mainPrefsForm( 'error', wfMsg( 'badsig' ) );