Actually declare $wgLang
authorAaron Schulz <aaron@users.mediawiki.org>
Wed, 14 May 2008 23:03:39 +0000 (23:03 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Wed, 14 May 2008 23:03:39 +0000 (23:03 +0000)
includes/SpecialNewpages.php

index 00cb7f2..f41fab7 100644 (file)
@@ -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 )