Index: trunk/extensions/SemanticMediaWiki/specials/AskSpecial/SMW_SpecialAsk.php |
— | — | @@ -9,8 +9,9 @@ |
10 | 10 | if (!defined('MEDIAWIKI')) die(); |
11 | 11 | |
12 | 12 | //require_once($smwgIP . '/includes/SMW_Storage.php'); |
| 13 | +global $IP; |
13 | 14 | require_once( "$IP/includes/SpecialPage.php" ); |
14 | | - |
| 15 | +global $wgExtensionFunctions; |
15 | 16 | $wgExtensionFunctions[] = "wfAskExtension"; |
16 | 17 | |
17 | 18 | // standard functions for creating a new special |
Index: trunk/extensions/SemanticMediaWiki/specials/SMWAdmin/SMW_SpecialSMWAdmin.php |
— | — | @@ -8,7 +8,7 @@ |
9 | 9 | */ |
10 | 10 | |
11 | 11 | if (!defined('MEDIAWIKI')) die(); |
12 | | - |
| 12 | +global $wgExtensionFunctions; |
13 | 13 | $wgExtensionFunctions[] = "wfSMWAdminExtension"; |
14 | 14 | |
15 | 15 | function wfSMWAdminExtension() |
Index: trunk/extensions/SemanticMediaWiki/specials/Relations/SMW_SpecialTypes.php |
— | — | @@ -12,7 +12,7 @@ |
13 | 13 | |
14 | 14 | |
15 | 15 | if (!defined('MEDIAWIKI')) die(); |
16 | | - |
| 16 | +global $wgExtensionFunctions; |
17 | 17 | $wgExtensionFunctions[] = "wfSMWTypes"; |
18 | 18 | |
19 | 19 | function wfSMWTypes() |
Index: trunk/extensions/SemanticMediaWiki/specials/Relations/SMW_SpecialUnusedRelations.php |
— | — | @@ -7,7 +7,7 @@ |
8 | 8 | */ |
9 | 9 | |
10 | 10 | if (!defined('MEDIAWIKI')) die(); |
11 | | - |
| 11 | +global $wgExtensionFunctions; |
12 | 12 | $wgExtensionFunctions[] = "wfSMWUnusedRelations"; |
13 | 13 | |
14 | 14 | function wfSMWUnusedRelations() |
Index: trunk/extensions/SemanticMediaWiki/specials/Relations/SMW_SpecialAttributes.php |
— | — | @@ -6,7 +6,7 @@ |
7 | 7 | */ |
8 | 8 | |
9 | 9 | if (!defined('MEDIAWIKI')) die(); |
10 | | - |
| 10 | +global $wgExtensionFunctions; |
11 | 11 | $wgExtensionFunctions[] = "wfSMWAttributes"; |
12 | 12 | |
13 | 13 | function wfSMWAttributes() |
Index: trunk/extensions/SemanticMediaWiki/specials/Relations/SMW_SpecialUnusedAttributes.php |
— | — | @@ -7,7 +7,7 @@ |
8 | 8 | */ |
9 | 9 | |
10 | 10 | if (!defined('MEDIAWIKI')) die(); |
11 | | - |
| 11 | +global $wgExtensionFunctions; |
12 | 12 | $wgExtensionFunctions[] = "wfSMWUnusedAttributes"; |
13 | 13 | |
14 | 14 | function wfSMWUnusedAttributes() |
Index: trunk/extensions/SemanticMediaWiki/specials/Relations/SMW_SpecialRelations.php |
— | — | @@ -6,7 +6,7 @@ |
7 | 7 | */ |
8 | 8 | |
9 | 9 | if (!defined('MEDIAWIKI')) die(); |
10 | | - |
| 10 | +global $wgExtensionFunctions; |
11 | 11 | $wgExtensionFunctions[] = "wfSMWRelations"; |
12 | 12 | |
13 | 13 | function wfSMWRelations() |
Index: trunk/extensions/SemanticMediaWiki/specials/OntologyImport/SMW_SpecialOntologyImport.php |
— | — | @@ -10,7 +10,7 @@ |
11 | 11 | */ |
12 | 12 | |
13 | 13 | if (!defined('MEDIAWIKI')) die(); |
14 | | - |
| 14 | +global $wgExtensionFunctions; |
15 | 15 | $wgExtensionFunctions[] = "wfOntologyImportExtension"; |
16 | 16 | |
17 | 17 | global $IP; |
Index: trunk/extensions/SemanticMediaWiki/specials/SearchTriple/SMW_SpecialSearchTriple.php |
— | — | @@ -9,7 +9,7 @@ |
10 | 10 | */ |
11 | 11 | |
12 | 12 | if (!defined('MEDIAWIKI')) die(); |
13 | | - |
| 13 | +global $wgExtensionFunctions; |
14 | 14 | $wgExtensionFunctions[] = "wfSearchTripleExtension"; |
15 | 15 | |
16 | 16 | function wfSearchTripleExtension() |
Index: trunk/extensions/SemanticMediaWiki/specials/ExportRDF/SMW_SpecialExportRDF.php |
— | — | @@ -12,7 +12,7 @@ |
13 | 13 | //require_once($smwgIP . '/includes/SMW_Storage.php'); |
14 | 14 | global $IP; |
15 | 15 | require_once( "$IP/includes/SpecialPage.php" ); |
16 | | - |
| 16 | +global $wgExtensionFunctions; |
17 | 17 | $wgExtensionFunctions[] = "wfExportRDFExtension"; |
18 | 18 | |
19 | 19 | function wfExportRDFExtension() { |