r19893 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r19892‎ | r19893 | r19894 >
Date:13:00, 12 February 2007
Author:mkroetzsch
Status:old
Tags:
Comment:
Included necessary global variables.
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/specials/AskSpecial/SMW_SpecialAsk.php (modified) (history)
  • /trunk/extensions/SemanticMediaWiki/specials/ExportRDF/SMW_SpecialExportRDF.php (modified) (history)
  • /trunk/extensions/SemanticMediaWiki/specials/OntologyImport/SMW_SpecialOntologyImport.php (modified) (history)
  • /trunk/extensions/SemanticMediaWiki/specials/Relations/SMW_SpecialAttributes.php (modified) (history)
  • /trunk/extensions/SemanticMediaWiki/specials/Relations/SMW_SpecialRelations.php (modified) (history)
  • /trunk/extensions/SemanticMediaWiki/specials/Relations/SMW_SpecialTypes.php (modified) (history)
  • /trunk/extensions/SemanticMediaWiki/specials/Relations/SMW_SpecialUnusedAttributes.php (modified) (history)
  • /trunk/extensions/SemanticMediaWiki/specials/Relations/SMW_SpecialUnusedRelations.php (modified) (history)
  • /trunk/extensions/SemanticMediaWiki/specials/SMWAdmin/SMW_SpecialSMWAdmin.php (modified) (history)
  • /trunk/extensions/SemanticMediaWiki/specials/SearchTriple/SMW_SpecialSearchTriple.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/specials/AskSpecial/SMW_SpecialAsk.php
@@ -9,8 +9,9 @@
1010 if (!defined('MEDIAWIKI')) die();
1111
1212 //require_once($smwgIP . '/includes/SMW_Storage.php');
 13+global $IP;
1314 require_once( "$IP/includes/SpecialPage.php" );
14 -
 15+global $wgExtensionFunctions;
1516 $wgExtensionFunctions[] = "wfAskExtension";
1617
1718 // standard functions for creating a new special
Index: trunk/extensions/SemanticMediaWiki/specials/SMWAdmin/SMW_SpecialSMWAdmin.php
@@ -8,7 +8,7 @@
99 */
1010
1111 if (!defined('MEDIAWIKI')) die();
12 -
 12+global $wgExtensionFunctions;
1313 $wgExtensionFunctions[] = "wfSMWAdminExtension";
1414
1515 function wfSMWAdminExtension()
Index: trunk/extensions/SemanticMediaWiki/specials/Relations/SMW_SpecialTypes.php
@@ -12,7 +12,7 @@
1313
1414
1515 if (!defined('MEDIAWIKI')) die();
16 -
 16+global $wgExtensionFunctions;
1717 $wgExtensionFunctions[] = "wfSMWTypes";
1818
1919 function wfSMWTypes()
Index: trunk/extensions/SemanticMediaWiki/specials/Relations/SMW_SpecialUnusedRelations.php
@@ -7,7 +7,7 @@
88 */
99
1010 if (!defined('MEDIAWIKI')) die();
11 -
 11+global $wgExtensionFunctions;
1212 $wgExtensionFunctions[] = "wfSMWUnusedRelations";
1313
1414 function wfSMWUnusedRelations()
Index: trunk/extensions/SemanticMediaWiki/specials/Relations/SMW_SpecialAttributes.php
@@ -6,7 +6,7 @@
77 */
88
99 if (!defined('MEDIAWIKI')) die();
10 -
 10+global $wgExtensionFunctions;
1111 $wgExtensionFunctions[] = "wfSMWAttributes";
1212
1313 function wfSMWAttributes()
Index: trunk/extensions/SemanticMediaWiki/specials/Relations/SMW_SpecialUnusedAttributes.php
@@ -7,7 +7,7 @@
88 */
99
1010 if (!defined('MEDIAWIKI')) die();
11 -
 11+global $wgExtensionFunctions;
1212 $wgExtensionFunctions[] = "wfSMWUnusedAttributes";
1313
1414 function wfSMWUnusedAttributes()
Index: trunk/extensions/SemanticMediaWiki/specials/Relations/SMW_SpecialRelations.php
@@ -6,7 +6,7 @@
77 */
88
99 if (!defined('MEDIAWIKI')) die();
10 -
 10+global $wgExtensionFunctions;
1111 $wgExtensionFunctions[] = "wfSMWRelations";
1212
1313 function wfSMWRelations()
Index: trunk/extensions/SemanticMediaWiki/specials/OntologyImport/SMW_SpecialOntologyImport.php
@@ -10,7 +10,7 @@
1111 */
1212
1313 if (!defined('MEDIAWIKI')) die();
14 -
 14+global $wgExtensionFunctions;
1515 $wgExtensionFunctions[] = "wfOntologyImportExtension";
1616
1717 global $IP;
Index: trunk/extensions/SemanticMediaWiki/specials/SearchTriple/SMW_SpecialSearchTriple.php
@@ -9,7 +9,7 @@
1010 */
1111
1212 if (!defined('MEDIAWIKI')) die();
13 -
 13+global $wgExtensionFunctions;
1414 $wgExtensionFunctions[] = "wfSearchTripleExtension";
1515
1616 function wfSearchTripleExtension()
Index: trunk/extensions/SemanticMediaWiki/specials/ExportRDF/SMW_SpecialExportRDF.php
@@ -12,7 +12,7 @@
1313 //require_once($smwgIP . '/includes/SMW_Storage.php');
1414 global $IP;
1515 require_once( "$IP/includes/SpecialPage.php" );
16 -
 16+global $wgExtensionFunctions;
1717 $wgExtensionFunctions[] = "wfExportRDFExtension";
1818
1919 function wfExportRDFExtension() {

Status & tagging log