r77432 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r77431‎ | r77432 | r77433 >
Date:20:02, 29 November 2010
Author:jeroendedauw
Status:deferred
Tags:
Comment:
Changes for 0.7.3 - fixed incorrect usage of
Modified paths:
  • /trunk/extensions/Maps/Maps.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Maps/Maps.php
@@ -168,6 +168,10 @@
169169 wfLoadExtensionMessages( 'Maps' );
170170 }
171171
 172+ if ( is_null( $wgExtraNamespaces ) ) {
 173+ $wgExtraNamespaces = array();
 174+ }
 175+
172176 $wgExtraNamespaces += array(
173177 Maps_NS_LAYER => 'Layer',
174178 Maps_NS_LAYER_TALK => 'Layer talk'

Status & tagging log