http://www.mediawiki.org/wiki/Special:Code/MediaWiki/84716
Revision: 84716
Author: reedy
Date: 2011-03-24 22:00:25 +0000 (Thu, 24 Mar 2011)
Log Message:
-----------
Partial revert to r84652
Also, removed some more old useless includes where I'd removed global $IP;
before
Modified Paths:
--------------
trunk/extensions/FirefoggChunkedUpload/tests/UploadFromChunksTest.php
trunk/extensions/OAI/OAIRepo_body.php
trunk/extensions/RDFIO/stores/SMW_ARC2Store.php
trunk/extensions/SemanticNotifyMe/includes/jobs/SMW_NMRefreshJob.php
trunk/extensions/SemanticNotifyMe/specials/SMWNotifyMe/SMWNotifyMe.php
trunk/extensions/SocialProfile/SystemGifts/SystemGifts.php
trunk/extensions/skins/Daddio/Daddio.class.php
Modified: trunk/extensions/FirefoggChunkedUpload/tests/UploadFromChunksTest.php
===================================================================
--- trunk/extensions/FirefoggChunkedUpload/tests/UploadFromChunksTest.php
2011-03-24 21:49:55 UTC (rev 84715)
+++ trunk/extensions/FirefoggChunkedUpload/tests/UploadFromChunksTest.php
2011-03-24 22:00:25 UTC (rev 84716)
@@ -1,5 +1,6 @@
<?php
+global $IP;
require_once( "$IP/maintenance/tests/ApiSetup.php" );
require_once( "$IP/maintenance/deleteArchivedFiles.inc" );
require_once( "$IP/maintenance/deleteArchivedRevisions.inc" );
Modified: trunk/extensions/OAI/OAIRepo_body.php
===================================================================
--- trunk/extensions/OAI/OAIRepo_body.php 2011-03-24 21:49:55 UTC (rev
84715)
+++ trunk/extensions/OAI/OAIRepo_body.php 2011-03-24 22:00:25 UTC (rev
84716)
@@ -3,8 +3,8 @@
die();
}
+global $IP;
require_once( "$IP/extensions/OAI/OAIFunctions.php" );
-require_once( "$IP/includes/Export.php" );
if( !function_exists( 'wfTimestamp2ISO8601' ) ) {
// Back compat; gone in 1.6
Modified: trunk/extensions/RDFIO/stores/SMW_ARC2Store.php
===================================================================
--- trunk/extensions/RDFIO/stores/SMW_ARC2Store.php 2011-03-24 21:49:55 UTC
(rev 84715)
+++ trunk/extensions/RDFIO/stores/SMW_ARC2Store.php 2011-03-24 22:00:25 UTC
(rev 84716)
@@ -4,6 +4,8 @@
die( 'Not a valid entry point.' );
}
+global $IP;
+
require_once(
"$IP/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore2.php" );
/**
Modified: trunk/extensions/SemanticNotifyMe/includes/jobs/SMW_NMRefreshJob.php
===================================================================
--- trunk/extensions/SemanticNotifyMe/includes/jobs/SMW_NMRefreshJob.php
2011-03-24 21:49:55 UTC (rev 84715)
+++ trunk/extensions/SemanticNotifyMe/includes/jobs/SMW_NMRefreshJob.php
2011-03-24 22:00:25 UTC (rev 84716)
@@ -7,8 +7,6 @@
die( "This file is part of the Semantic NotifyMe Extension. It is not a
valid entry point.\n" );
}
-require_once( "$IP/includes/JobQueue.php" );
-
class SMWNMRefreshJob extends Job {
function __construct( Title $title ) {
Modified: trunk/extensions/SemanticNotifyMe/specials/SMWNotifyMe/SMWNotifyMe.php
===================================================================
--- trunk/extensions/SemanticNotifyMe/specials/SMWNotifyMe/SMWNotifyMe.php
2011-03-24 21:49:55 UTC (rev 84715)
+++ trunk/extensions/SemanticNotifyMe/specials/SMWNotifyMe/SMWNotifyMe.php
2011-03-24 22:00:25 UTC (rev 84716)
@@ -5,8 +5,6 @@
if ( !defined( 'MEDIAWIKI' ) ) die();
-require_once( $IP . "/includes/SpecialPage.php" );
-
/*
* Standard class that is resopnsible for the creation of the Special Page
*/
Modified: trunk/extensions/SocialProfile/SystemGifts/SystemGifts.php
===================================================================
--- trunk/extensions/SocialProfile/SystemGifts/SystemGifts.php 2011-03-24
21:49:55 UTC (rev 84715)
+++ trunk/extensions/SocialProfile/SystemGifts/SystemGifts.php 2011-03-24
22:00:25 UTC (rev 84716)
@@ -1,5 +1,8 @@
<?php
+global $IP, $wgScriptPath, $wgAutoloadClasses, $wgAvailableRights,
$wgGroupPermissions,
+ $wgSpecialPages, $wgExtenstionMessagesFiles;
+
$wgAvailableRights[] = 'awardsmanage';
$wgGroupPermissions['staff']['awardsmanage'] = true;
$wgGroupPermissions['sysop']['awardsmanage'] = true;
Modified: trunk/extensions/skins/Daddio/Daddio.class.php
===================================================================
--- trunk/extensions/skins/Daddio/Daddio.class.php 2011-03-24 21:49:55 UTC
(rev 84715)
+++ trunk/extensions/skins/Daddio/Daddio.class.php 2011-03-24 22:00:25 UTC
(rev 84716)
@@ -8,6 +8,7 @@
if( !defined( 'MEDIAWIKI' ) )
die( -1 );
+global $IP;
// @todo Fixme: autoload ModernTemplate
require_once( "$IP/skins/Modern.php" );
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs