From: Aaron Schulz Date: Wed, 14 May 2008 23:03:39 +0000 (+0000) Subject: Actually declare $wgLang X-Git-Tag: 1.31.0-rc.0~47624 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/bilan.php?a=commitdiff_plain;h=617c13dd783f7645105ea876295066e9a97d4ae5;p=lhc%2Fweb%2Fwiklou.git Actually declare $wgLang --- diff --git a/includes/SpecialNewpages.php b/includes/SpecialNewpages.php index 00cb7f2521..f41fab799e 100644 --- a/includes/SpecialNewpages.php +++ b/includes/SpecialNewpages.php @@ -56,6 +56,7 @@ class NewPagesForm { } protected function parseParams( $par ) { + global $wgLang; $bits = preg_split( '/\s*,\s*/', trim( $par ) ); foreach ( $bits as $bit ) { if ( 'shownav' == $bit )