r70745 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r70744‎ | r70745 | r70746 >
Date:06:26, 9 August 2010
Author:jeroendedauw
Status:deferred
Tags:
Comment:
Fixed missing global
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/SMW_SetupLight.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/SMW_SetupLight.php
@@ -33,7 +33,8 @@
3434 * available as early on. Moreover, jobs and special pages are registered.
3535 */
3636 function enableSemantics( $namespace = null, $complete = false ) {
37 - global $smwgIP, $smwgNamespace, $wgExtensionFunctions, $wgAutoloadClasses, $wgSpecialPages, $wgSpecialPageGroups, $wgHooks, $wgExtensionMessagesFiles, $wgJobClasses, $wgExtensionAliasesFiles;
 37+ global $smwgIP, $wgServerName, $smwgNamespace, $wgExtensionFunctions, $wgAutoloadClasses, $wgSpecialPages, $wgSpecialPageGroups, $wgHooks, $wgExtensionMessagesFiles, $wgJobClasses, $wgExtensionAliasesFiles;
 38+
3839 // The dot tells that the domain is not complete. It will be completed
3940 // in the Export since we do not want to create a title object here when
4041 // it is not needed in many cases.

Status & tagging log