Index: trunk/extensions/SpecialFileList/SpecialFilelist.php |
— | — | @@ -26,7 +26,7 @@ |
27 | 27 | |
28 | 28 | function wfSpecialFilelist () { |
29 | 29 | wfLoadExtensionMessages( 'Filelist' ); |
30 | | - global $IP, $wgMessageCache; |
| 30 | + global $IP; |
31 | 31 | require_once "$IP/includes/SpecialPage.php"; |
32 | 32 | class SpecialFilelist extends SpecialPage { |
33 | 33 | |
Index: trunk/extensions/wikiforum/wikiforum.php |
— | — | @@ -509,7 +509,7 @@ |
510 | 510 | * @addtogroup Extensions |
511 | 511 | */ |
512 | 512 | function wfForum() { |
513 | | - global $IP, $wgMessageCache, $wgAllMessagesEn, $wgNavigationLinks, $wgTitle; |
| 513 | + global $IP, $wgAllMessagesEn, $wgNavigationLinks, $wgTitle; |
514 | 514 | require_once( $IP.'/includes/SpecialPage.php' ); |
515 | 515 | |
516 | 516 | |
Index: trunk/extensions/Cache404/extensions/Cache404.php |
— | — | @@ -633,7 +633,7 @@ |
634 | 634 | global $wgUsePathInfo, $wgFilterCallback, $wgRequest, $wgUser, $wgOut, $_SERVER; |
635 | 635 | global $wgAllowUserJs, $wgAllowUserCss, $wgUseSiteCss, $wgUseSiteJs, $wgCachePages; |
636 | 636 | global $wgCache404SavedCallback; |
637 | | - global $wgLang, $wgLanguageCode, $wgContLang, $wgContLanguageCode, $wgMessageCache, |
| 637 | + global $wgLang, $wgLanguageCode, $wgContLang, $wgContLanguageCode, |
638 | 638 | $messageMemc, $wgUseDatabaseMessages, $wgMsgCacheExpiry, $wgDBname; |
639 | 639 | |
640 | 640 | # Prevent user options, user new talk |
Index: trunk/extensions/Watchers/Watchers.php |
— | — | @@ -81,7 +81,7 @@ |
82 | 82 | * The special page |
83 | 83 | */ |
84 | 84 | function wfWatchersExtension() { |
85 | | - global $IP, $wgMessageCache; |
| 85 | + global $IP; |
86 | 86 | wfWatchersAddCache(); |
87 | 87 | |
88 | 88 | require_once $IP.'/includes/SpecialPage.php'; |
Index: trunk/extensions/Purge/Purge.php |
— | — | @@ -24,7 +24,7 @@ |
25 | 25 | |
26 | 26 | class PurgeAction { |
27 | 27 | public function __construct() { |
28 | | - global $wgMessageCache, $wgHooks; |
| 28 | + global $wgHooks; |
29 | 29 | wfLoadExtensionMessages( 'Purge' ); |
30 | 30 | $wgHooks['SkinTemplateContentActions'][] = array( &$this, 'contentHook' ); |
31 | 31 | #$wgHooks['ArticlePurge'][] = array( &$this, 'purgeHook' ); |
Index: trunk/extensions/SpecialForm/SpecialForm.body.php |
— | — | @@ -66,7 +66,6 @@ |
67 | 67 | |
68 | 68 | function loadMessages() { |
69 | 69 | static $messagesLoaded = false; |
70 | | - global $wgMessageCache; |
71 | 70 | |
72 | 71 | if ( $messagesLoaded ) return true; |
73 | 72 | wfLoadExtensionMessages('SpecialForm'); |
Index: trunk/extensions/AbsenteeLandlord/AbsenteeLandlord.php |
— | — | @@ -40,7 +40,7 @@ |
41 | 41 | $groups = $wgUser->getGroups(); |
42 | 42 | |
43 | 43 | if( !in_array( 'sysop', $groups ) ) { |
44 | | - global $wgReadOnly, $wgMessageCache; |
| 44 | + global $wgReadOnly; |
45 | 45 | |
46 | 46 | #Add Messages (don't need them unless we get here) |
47 | 47 | wfLoadExtensionMessages( 'AbsenteeLandlord' ); |
Index: trunk/extensions/TodoTasks/SpecialTaskList_body.php |
— | — | @@ -2,7 +2,6 @@ |
3 | 3 | |
4 | 4 | function TaskListLoadMessages() { |
5 | 5 | static $messagesLoaded = false; |
6 | | - global $wgMessageCache; |
7 | 6 | if ($messagesLoaded) return; |
8 | 7 | $messagesLoaded = true; |
9 | 8 | wfLoadExtensionMessages('TaskList'); |
Index: trunk/extensions/wikiwyg/share/MediaWiki/extensions/MediaWikiWyg.php |
— | — | @@ -52,7 +52,7 @@ |
53 | 53 | global $wgOut, $wgSkin, $jsdir, $cssdir, $wgScriptPath; |
54 | 54 | global $wgWikiwygPath, $wgUser, $wgTitle; |
55 | 55 | global $wgServer, $wgWikiwygJsPath, $wgWikiwygCssPath, $wgWikiwygImagePath; |
56 | | - global $wgRequest, $wgWysiwygEnabled, $wgMessageCache; |
| 56 | + global $wgRequest, $wgWysiwygEnabled; |
57 | 57 | global $wgLang, $wgContLang, $wgEnableAjaxLogin; |
58 | 58 | |
59 | 59 | wfLoadExtensionMessages('Wikiwyg'); |
Index: trunk/extensions/Wikidata/App.php |
— | — | @@ -174,8 +174,7 @@ |
175 | 175 | } |
176 | 176 | |
177 | 177 | function initializeWikidata() { |
178 | | - global |
179 | | - $wgMessageCache, $wgExtensionPreferences, $wdSiteContext, $wgPropertyToColumnFilters; |
| 178 | + global $wgExtensionPreferences, $wdSiteContext, $wgPropertyToColumnFilters; |
180 | 179 | |
181 | 180 | $dbr =& wfGetDB(DB_MASTER); |
182 | 181 | $dbr->query("SET NAMES utf8"); |