Index: trunk/extensions/SocialProfile/SystemGifts/SystemGifts.php |
— | — | @@ -1,5 +1,8 @@ |
2 | 2 | <?php |
3 | 3 | |
| 4 | +global $IP, $wgScriptPath, $wgAutoloadClasses, $wgAvailableRights, $wgGroupPermissions, |
| 5 | + $wgSpecialPages, $wgExtenstionMessagesFiles; |
| 6 | + |
4 | 7 | $wgAvailableRights[] = 'awardsmanage'; |
5 | 8 | $wgGroupPermissions['staff']['awardsmanage'] = true; |
6 | 9 | $wgGroupPermissions['sysop']['awardsmanage'] = true; |
Index: trunk/extensions/OAI/OAIRepo_body.php |
— | — | @@ -3,8 +3,8 @@ |
4 | 4 | die(); |
5 | 5 | } |
6 | 6 | |
| 7 | +global $IP; |
7 | 8 | require_once( "$IP/extensions/OAI/OAIFunctions.php" ); |
8 | | -require_once( "$IP/includes/Export.php" ); |
9 | 9 | |
10 | 10 | if( !function_exists( 'wfTimestamp2ISO8601' ) ) { |
11 | 11 | // Back compat; gone in 1.6 |
Index: trunk/extensions/FirefoggChunkedUpload/tests/UploadFromChunksTest.php |
— | — | @@ -1,5 +1,6 @@ |
2 | 2 | <?php |
3 | 3 | |
| 4 | +global $IP; |
4 | 5 | require_once( "$IP/maintenance/tests/ApiSetup.php" ); |
5 | 6 | require_once( "$IP/maintenance/deleteArchivedFiles.inc" ); |
6 | 7 | require_once( "$IP/maintenance/deleteArchivedRevisions.inc" ); |
Index: trunk/extensions/SemanticNotifyMe/specials/SMWNotifyMe/SMWNotifyMe.php |
— | — | @@ -5,8 +5,6 @@ |
6 | 6 | |
7 | 7 | if ( !defined( 'MEDIAWIKI' ) ) die(); |
8 | 8 | |
9 | | -require_once( $IP . "/includes/SpecialPage.php" ); |
10 | | - |
11 | 9 | /* |
12 | 10 | * Standard class that is resopnsible for the creation of the Special Page |
13 | 11 | */ |
Index: trunk/extensions/SemanticNotifyMe/includes/jobs/SMW_NMRefreshJob.php |
— | — | @@ -7,8 +7,6 @@ |
8 | 8 | die( "This file is part of the Semantic NotifyMe Extension. It is not a valid entry point.\n" ); |
9 | 9 | } |
10 | 10 | |
11 | | -require_once( "$IP/includes/JobQueue.php" ); |
12 | | - |
13 | 11 | class SMWNMRefreshJob extends Job { |
14 | 12 | |
15 | 13 | function __construct( Title $title ) { |
Index: trunk/extensions/RDFIO/stores/SMW_ARC2Store.php |
— | — | @@ -4,6 +4,8 @@ |
5 | 5 | die( 'Not a valid entry point.' ); |
6 | 6 | } |
7 | 7 | |
| 8 | +global $IP; |
| 9 | + |
8 | 10 | require_once( "$IP/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore2.php" ); |
9 | 11 | |
10 | 12 | /** |
Index: trunk/extensions/skins/Daddio/Daddio.class.php |
— | — | @@ -8,6 +8,7 @@ |
9 | 9 | if( !defined( 'MEDIAWIKI' ) ) |
10 | 10 | die( -1 ); |
11 | 11 | |
| 12 | +global $IP; |
12 | 13 | // @todo Fixme: autoload ModernTemplate |
13 | 14 | require_once( "$IP/skins/Modern.php" ); |
14 | 15 | |