r84685 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r84684‎ | r84685 | r84686 >
Date:17:00, 24 March 2011
Author:ialex
Status:deferred
Tags:
Comment:
Removed unused globals
Modified paths:
  • /trunk/extensions/MathStatFunctions/MathStatFunctions.php (modified) (history)
  • /trunk/extensions/SemanticMediaWiki/includes/SMW_Setup.php (modified) (history)
  • /trunk/extensions/SemanticMediaWiki/includes/SMW_SetupLight.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/SMW_SetupLight.php
@@ -246,7 +246,7 @@
247247 */
248248 function smwfSetupExtension() {
249249 wfProfileIn( 'smwfSetupExtension (SMW)' );
250 - global $smwgIP, $wgHooks, $wgParser, $wgExtensionCredits, $smwgEnableTemplateSupport, $smwgMasterStore, $smwgIQRunningNumber, $wgLanguageCode, $wgVersion, $smwgToolboxBrowseLink, $smwgMW_1_14;
 250+ global $smwgIP, $wgHooks, $wgExtensionCredits, $smwgEnableTemplateSupport, $smwgMasterStore, $smwgIQRunningNumber, $wgLanguageCode, $wgVersion, $smwgToolboxBrowseLink, $smwgMW_1_14;
251251
252252 $smwgMasterStore = null;
253253 $smwgIQRunningNumber = 0;
Index: trunk/extensions/SemanticMediaWiki/includes/SMW_Setup.php
@@ -279,7 +279,7 @@
280280 */
281281 function smwfSetupExtension() {
282282 wfProfileIn( 'smwfSetupExtension (SMW)' );
283 - global $smwgIP, $smwgScriptPath, $wgHooks, $wgFooterIcons, $wgParser, $wgExtensionCredits, $smwgEnableTemplateSupport, $smwgMasterStore, $smwgIQRunningNumber, $wgLanguageCode, $wgVersion, $smwgToolboxBrowseLink, $smwgMW_1_14;
 283+ global $smwgIP, $smwgScriptPath, $wgHooks, $wgFooterIcons, $wgExtensionCredits, $smwgEnableTemplateSupport, $smwgMasterStore, $smwgIQRunningNumber, $wgLanguageCode, $wgVersion, $smwgToolboxBrowseLink, $smwgMW_1_14;
284284
285285 $smwgMasterStore = null;
286286 $smwgIQRunningNumber = 0;
Index: trunk/extensions/MathStatFunctions/MathStatFunctions.php
@@ -420,7 +420,7 @@
421421 }
422422
423423 function wfSetupMathStatFunctions( $parser ) {
424 - global $wgParser, $wgExtMathStatFunctions;
 424+ global $wgExtMathStatFunctions;
425425
426426 try {
427427 if ( $wgExtMathStatFunctions === null ) {

Status & tagging log