r113655 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r113654‎ | r113655 | r113656 >
Date:20:24, 12 March 2012
Author:van-de-bugger
Status:new
Tags:
Comment:
Configure extension only after its setup file is included.
Modified paths:
  • /trunk/extensions/SemanticTitle/SemanticTitle.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticTitle/SemanticTitle.php
@@ -34,9 +34,7 @@
3535 $wgExtensionMessagesFiles[ 'SemanticTitle' ] = __DIR__ . '/SemanticTitle.i18n.php';
3636
3737 global $egSemanticTitle;
38 -if ( ! isset( $egSemanticTitle ) ) {
39 - $egSemanticTitle = array();
40 -}; // if
 38+$egSemanticTitle = array();
4139
4240 global $wgExtensionCredits;
4341 $wgExtensionCredits[ 'semantic' ][] = array(

Status & tagging log