r11954 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r11953‎ | r11954 | r11955 >
Date:14:49, 4 December 2005
Author:hashar
Status:old
Tags:
Comment:
unitialized variable
Modified paths:
  • /trunk/phase3/config/index.php (modified) (history)

Diff [purge]

Index: trunk/phase3/config/index.php
@@ -1328,6 +1328,7 @@
13291329
13301330 $d = opendir( "../languages" );
13311331 while( false !== ($f = readdir( $d ) ) ) {
 1332+ $m = array();
13321333 if( preg_match( '/Language([A-Z][a-z_]+)\.php$/', $f, $m ) ) {
13331334 $code = str_replace( '_', '-', strtolower( $m[1] ) );
13341335 if( isset( $wgLanguageNames[$code] ) ) {

Status & tagging log