r34837 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r34836‎ | r34837 | r34838 >
Date:23:03, 14 May 2008
Author:aaron
Status:old
Tags:
Comment:
Actually declare $wgLang
Modified paths:
  • /trunk/phase3/includes/SpecialNewpages.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SpecialNewpages.php
@@ -56,6 +56,7 @@
5757 }
5858
5959 protected function parseParams( $par ) {
 60+ global $wgLang;
6061 $bits = preg_split( '/\s*,\s*/', trim( $par ) );
6162 foreach ( $bits as $bit ) {
6263 if ( 'shownav' == $bit )

Status & tagging log