Index: trunk/extensions/SocialProfile/SystemGifts/SystemGifts.php |
— | — | @@ -1,8 +1,5 @@ |
2 | 2 | <?php |
3 | 3 | |
4 | | -global $IP, $wgScriptPath, $wgAutoloadClasses, $wgAvailableRights, $wgGroupPermissions, |
5 | | - $wgSpecialPages, $wgExtenstionMessagesFiles; |
6 | | - |
7 | 4 | $wgAvailableRights[] = 'awardsmanage'; |
8 | 5 | $wgGroupPermissions['staff']['awardsmanage'] = true; |
9 | 6 | $wgGroupPermissions['sysop']['awardsmanage'] = true; |
Index: trunk/extensions/OAI/OAIRepo_body.php |
— | — | @@ -3,7 +3,6 @@ |
4 | 4 | die(); |
5 | 5 | } |
6 | 6 | |
7 | | -global $IP; |
8 | 7 | require_once( "$IP/extensions/OAI/OAIFunctions.php" ); |
9 | 8 | require_once( "$IP/includes/Export.php" ); |
10 | 9 | |
Index: trunk/extensions/FirefoggChunkedUpload/tests/UploadFromChunksTest.php |
— | — | @@ -1,6 +1,5 @@ |
2 | 2 | <?php |
3 | 3 | |
4 | | -global $IP; |
5 | 4 | require_once( "$IP/maintenance/tests/ApiSetup.php" ); |
6 | 5 | require_once( "$IP/maintenance/deleteArchivedFiles.inc" ); |
7 | 6 | require_once( "$IP/maintenance/deleteArchivedRevisions.inc" ); |
Index: trunk/extensions/SemanticNotifyMe/specials/SMWNotifyMe/SMWNotifyMe.php |
— | — | @@ -5,9 +5,6 @@ |
6 | 6 | |
7 | 7 | if ( !defined( 'MEDIAWIKI' ) ) die(); |
8 | 8 | |
9 | | - |
10 | | - |
11 | | -global $IP; |
12 | 9 | require_once( $IP . "/includes/SpecialPage.php" ); |
13 | 10 | |
14 | 11 | /* |
Index: trunk/extensions/SemanticNotifyMe/includes/jobs/SMW_NMRefreshJob.php |
— | — | @@ -6,7 +6,7 @@ |
7 | 7 | if ( !defined( 'MEDIAWIKI' ) ) { |
8 | 8 | die( "This file is part of the Semantic NotifyMe Extension. It is not a valid entry point.\n" ); |
9 | 9 | } |
10 | | -global $IP; |
| 10 | + |
11 | 11 | require_once( "$IP/includes/JobQueue.php" ); |
12 | 12 | |
13 | 13 | class SMWNMRefreshJob extends Job { |
Index: trunk/extensions/ParserWiki/ParserEngine.php |
— | — | @@ -15,7 +15,6 @@ |
16 | 16 | } |
17 | 17 | |
18 | 18 | function parse($grammarName, &$text) { |
19 | | - global $IP; |
20 | 19 | wfDebugLog("ParseEngine", "==========Start Parse Engine==========\n"); |
21 | 20 | $grammar = isset($this->mGrammars[$grammarName]) ? $this->mGrammars[$grammarName] : NULL; |
22 | 21 | if ($grammar == NULL) { |
Index: trunk/extensions/SiteMatrix/SiteMatrix_body.php |
— | — | @@ -6,7 +6,6 @@ |
7 | 7 | } |
8 | 8 | |
9 | 9 | |
10 | | -global $IP; |
11 | 10 | require_once( $IP.'/languages/Names.php' ); |
12 | 11 | |
13 | 12 | class SiteMatrix { |
Index: trunk/extensions/MwEmbedSupport/MwEmbedResourceManager.php |
— | — | @@ -18,7 +18,7 @@ |
19 | 19 | * Adds modules to ResourceLoader |
20 | 20 | */ |
21 | 21 | public static function register( $mwEmbedResourcePath ) { |
22 | | - global $IP, $wgExtensionMessagesFiles, $wgExtensionAssetsPath; |
| 22 | + global $IP, $wgExtensionMessagesFiles; |
23 | 23 | $localResourcePath = $IP .'/' . $mwEmbedResourcePath; |
24 | 24 | // Get the module name from the end of the path: |
25 | 25 | $modulePathParts = explode( '/', $mwEmbedResourcePath ); |
Index: trunk/extensions/RDFIO/stores/SMW_ARC2Store.php |
— | — | @@ -4,8 +4,6 @@ |
5 | 5 | die( 'Not a valid entry point.' ); |
6 | 6 | } |
7 | 7 | |
8 | | -global $IP; |
9 | | - |
10 | 8 | require_once( "$IP/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore2.php" ); |
11 | 9 | |
12 | 10 | /** |
Index: trunk/extensions/News/NewsRenderer.php |
— | — | @@ -17,11 +17,6 @@ |
18 | 18 | define('NEWS_HEAD_LENGTH', 1024 * 2); |
19 | 19 | define('NEWS_HEAD_SCAN', 256); |
20 | 20 | |
21 | | -#no need to include, rely on autoloader |
22 | | -#global $IP; |
23 | | -#require_once( "$IP/includes/RecentChange.php" ); |
24 | | -#require_once( "$IP/includes/ChangeList.php" ); |
25 | | - |
26 | 21 | class NewsRenderer { |
27 | 22 | var $parser; |
28 | 23 | var $skin; |
Index: trunk/extensions/MetavidWiki/includes/specials/MV_SpecialMVAdmin.php |
— | — | @@ -35,14 +35,14 @@ |
36 | 36 | } |
37 | 37 | |
38 | 38 | public function execute( $par ) { |
39 | | - global $IP, $mvgIP; |
| 39 | + //global $IP, $mvgIP; |
40 | 40 | // require_once($IP . '/includes/SpecialPage.php' ); |
41 | 41 | // require_once($IP . '/includes/Title.php' ); |
42 | 42 | |
43 | 43 | global $wgOut, $wgRequest; |
44 | | - global $wgServer; // "http://www.yourserver.org" |
| 44 | + //global $wgServer; // "http://www.yourserver.org" |
45 | 45 | // (should be equal to 'http://'.$_SERVER['SERVER_NAME']) |
46 | | - global $wgScript; // "/subdirectory/of/wiki/index.php" |
| 46 | + //global $wgScript; // "/subdirectory/of/wiki/index.php" |
47 | 47 | global $wgUser; |
48 | 48 | |
49 | 49 | if ( ! $wgUser->isAllowed( 'delete' ) ) { |
Index: trunk/extensions/MetavidWiki/includes/specials/MV_SpecialExport.php |
— | — | @@ -20,7 +20,6 @@ |
21 | 21 | */ |
22 | 22 | if ( !defined( 'MEDIAWIKI' ) ) die(); |
23 | 23 | |
24 | | -global $IP, $smwgIP; |
25 | 24 | // all the special pages handled by this master Special Export (could reactor into individual classes if we want to) |
26 | 25 | class MvVideoFeed extends SpecialPage { |
27 | 26 | function __construct() { |
Index: trunk/extensions/skins/Daddio/Daddio.class.php |
— | — | @@ -8,7 +8,6 @@ |
9 | 9 | if( !defined( 'MEDIAWIKI' ) ) |
10 | 10 | die( -1 ); |
11 | 11 | |
12 | | -global $IP; |
13 | 12 | // @todo Fixme: autoload ModernTemplate |
14 | 13 | require_once( "$IP/skins/Modern.php" ); |
15 | 14 | |