Index: trunk/extensions/DeleteQueue/Views/DeleteQueueViewVote.php |
— | — | @@ -16,7 +16,7 @@ |
17 | 17 | * @param Article $article The article to endorse/object to deletion of. |
18 | 18 | */ |
19 | 19 | public function process( $article ) { |
20 | | - global $wgRequest,$wgOut,$wgUser,$wgTitle; |
| 20 | + global $wgRequest,$wgOut,$wgUser; |
21 | 21 | |
22 | 22 | $errs = |
23 | 23 | $article->mTitle->getUserPermissionsErrors( 'deletequeue-vote', $wgUser ); |
Index: trunk/extensions/DeleteQueue/DeleteQueue.hooks.php |
— | — | @@ -4,7 +4,7 @@ |
5 | 5 | |
6 | 6 | class DeleteQueueHooks { |
7 | 7 | public static function onSkinTemplateTabs( $st, &$actions ) { |
8 | | - global $wgTitle,$wgRequest,$wgUser; |
| 8 | + global $wgRequest,$wgUser; |
9 | 9 | |
10 | 10 | if (!$st->mTitle) { |
11 | 11 | global $wgTitle; |
Index: trunk/extensions/DataCenter/DataCenter.ui.php |
— | — | @@ -1130,7 +1130,7 @@ |
1131 | 1131 | DataCenterController $controller, |
1132 | 1132 | array $path |
1133 | 1133 | ) { |
1134 | | - global $wgTitle, $wgUser; |
| 1134 | + global $wgUser; |
1135 | 1135 | // Adds main menu |
1136 | 1136 | self::$output['menu'] .= DataCenterXml::open( |
1137 | 1137 | 'div', array( 'class' => 'menu' ) |
Index: trunk/extensions/Data/SpecialData.php |
— | — | @@ -75,7 +75,7 @@ |
76 | 76 | function wfDataView ( $dt ) # $dt = data type |
77 | 77 | { |
78 | 78 | if ( $dt == "" ) return ; |
79 | | - global $wgParser, $wgTitle; |
| 79 | + global $wgParser; |
80 | 80 | global $wgOut , $wgUser ; |
81 | 81 | $nsdata = 20 ; |
82 | 82 | $s = "<h2>{$dt}</h2>" ; |
Index: trunk/extensions/RandomUsersWithAvatars/RandomUsersWithAvatars.php |
— | — | @@ -32,7 +32,7 @@ |
33 | 33 | } |
34 | 34 | |
35 | 35 | function GetRandomUsersWithAvatars( $input, $args, &$parser ){ |
36 | | - global $wgUser, $wgParser, $wgTitle, $wgOut, $wgUploadDirectory, $wgDBname, $wgMemc; |
| 36 | + global $wgUser, $wgParser, $wgOut, $wgUploadDirectory, $wgDBname, $wgMemc; |
37 | 37 | wfLoadExtensionMessages('RandomUsersWithAvatars'); |
38 | 38 | |
39 | 39 | wfProfileIn(__METHOD__); |
Index: trunk/extensions/Postcomment/SpecialPostcomment.php |
— | — | @@ -86,7 +86,7 @@ |
87 | 87 | |
88 | 88 | function wfSpecialPostcomment( $par ) |
89 | 89 | { |
90 | | - global $wgUser, $wgOut, $wgLang, $wgTitle, $wgMemc, $wgDBname; |
| 90 | + global $wgUser, $wgOut, $wgLang, $wgMemc, $wgDBname; |
91 | 91 | global $wgRequest, $wgSitename, $wgLanguageCode; |
92 | 92 | global $wgFeedClasses, $wgFilterCallback, $wgWhitelistEdit; |
93 | 93 | |
Index: trunk/extensions/EditUser/1.15/EditUser_body.php |
— | — | @@ -95,7 +95,7 @@ |
96 | 96 | } |
97 | 97 | |
98 | 98 | public function execute( $par ) { |
99 | | - global $wgUser, $wgOut, $wgTitle; |
| 99 | + global $wgUser, $wgOut; |
100 | 100 | #Begin EditUser additions |
101 | 101 | global $wgRequest; |
102 | 102 | if( !$wgUser->isAllowed( 'edituser' ) ) { |
Index: trunk/extensions/wikiforum/wikiforum.php |
— | — | @@ -509,7 +509,7 @@ |
510 | 510 | * @addtogroup Extensions |
511 | 511 | */ |
512 | 512 | function wfForum() { |
513 | | - global $IP, $wgAllMessagesEn, $wgNavigationLinks, $wgTitle; |
| 513 | + global $IP, $wgAllMessagesEn, $wgNavigationLinks; |
514 | 514 | require_once( $IP.'/includes/SpecialPage.php' ); |
515 | 515 | |
516 | 516 | |
Index: trunk/extensions/SignDocument/SpecialSignDocument.php |
— | — | @@ -113,7 +113,7 @@ |
114 | 114 | } |
115 | 115 | |
116 | 116 | function showSignForm() { |
117 | | - global $wgOut, $wgUser, $wgRequest, $wgTitle; |
| 117 | + global $wgOut, $wgUser, $wgRequest; |
118 | 118 | |
119 | 119 | $this->mForm = SignDocumentForm::newFromDB( $wgRequest->getVal('doc') ); |
120 | 120 | |
— | — | @@ -306,7 +306,7 @@ |
307 | 307 | private $mFields; |
308 | 308 | |
309 | 309 | function execute() { |
310 | | - global $wgRequest, $wgTitle, $wgUser; |
| 310 | + global $wgRequest, $wgUser; |
311 | 311 | |
312 | 312 | if ($wgRequest->getVal('detail')) { |
313 | 313 | $this->doDetail(); |
Index: trunk/extensions/WikiTextLoggedInOut/WikiTextLoggedInOut.php |
— | — | @@ -36,7 +36,7 @@ |
37 | 37 | } |
38 | 38 | |
39 | 39 | function OutputLoggedInText( $input, $args, &$parser ) { |
40 | | - global $wgUser, $wgTitle, $wgOut; |
| 40 | + global $wgUser, $wgOut; |
41 | 41 | |
42 | 42 | if( $wgUser->isLoggedIn() ){ |
43 | 43 | return $parser->recursiveTagParse($input); |
— | — | @@ -58,7 +58,7 @@ |
59 | 59 | } |
60 | 60 | |
61 | 61 | function OutputLoggedOutText( $input, $args, &$parser ) { |
62 | | - global $wgUser, $wgTitle, $wgOut; |
| 62 | + global $wgUser, $wgOut; |
63 | 63 | |
64 | 64 | if( !$wgUser->isLoggedIn() ){ |
65 | 65 | return $parser->recursiveTagParse($input); |
Index: trunk/extensions/SpecialTalk/SpecialTalk.php |
— | — | @@ -30,8 +30,6 @@ |
31 | 31 | } |
32 | 32 | |
33 | 33 | public function SpecialTalkHook( SkinTemplate &$skin_template, array &$content_actions ) { |
34 | | - global $wgTitle; |
35 | | - |
36 | 34 | $title = Title::makeTitle( NS_PROJECT_TALK, $skin_template->mTitle->getText() ); |
37 | 35 | |
38 | 36 | $content_actions['talk'] = $skin_template->tabAction( |
Index: trunk/extensions/Wikidata/SpecialLanguages.php |
— | — | @@ -37,7 +37,7 @@ |
38 | 38 | } |
39 | 39 | |
40 | 40 | function execute( $par ) { |
41 | | - global $wgOut, $wgRequest, $wgTitle, $wgUser; |
| 41 | + global $wgOut, $wgRequest, $wgUser; |
42 | 42 | $wgOut->setPageTitle(wfMsg('langman_title')); |
43 | 43 | if(!$wgUser->isAllowed('addlanguage')) { |
44 | 44 | $wgOut->addHTML(wfMsg('langman_not_allowed')); |
Index: trunk/extensions/Wikidata/OmegaWiki/SpecialConceptMapping.php |
— | — | @@ -35,7 +35,7 @@ |
36 | 36 | } |
37 | 37 | |
38 | 38 | function execute( $par ) { |
39 | | - global $wgOut, $wgRequest, $wgTitle, $wgUser, $wdTermDBDataSet; |
| 39 | + global $wgOut, $wgRequest, $wgUser, $wdTermDBDataSet; |
40 | 40 | $wgOut->setPageTitle(wfMsg('ow_conceptmapping_title')); |
41 | 41 | |
42 | 42 | if(!$wgUser->isAllowed('editwikidata-'.$wdTermDBDataSet)) { |
Index: trunk/extensions/Wikidata/OmegaWiki/SpecialCopy.php |
— | — | @@ -40,7 +40,7 @@ |
41 | 41 | UnlistedSpecialPage::UnlistedSpecialPage( 'Copy' ); |
42 | 42 | } |
43 | 43 | function execute( $par ) { |
44 | | - global $wgOut, $wgRequest, $wgTitle, $wgUser, $wdTermDBDataSet; |
| 44 | + global $wgOut, $wgRequest, $wgUser, $wdTermDBDataSet; |
45 | 45 | |
46 | 46 | #$wgOut->setPageTitle("Special:Copy"); |
47 | 47 | if(!$wgUser->isAllowed('wikidata-copy')) { |
— | — | @@ -122,8 +122,7 @@ |
123 | 123 | * make sure you haven't used $wgOut before calling this! |
124 | 124 | */ |
125 | 125 | protected function autoredir() { |
126 | | - global |
127 | | - $wgTitle, $wgOut, $wgRequest; |
| 126 | + global $wgOut, $wgRequest; |
128 | 127 | |
129 | 128 | $dmid_dirty=$wgRequest->getText("dmid"); |
130 | 129 | $dc1_dirty=$wgRequest->getText("dc1"); |
Index: trunk/extensions/Wikidata/OmegaWiki/SpecialDatasearch.php |
— | — | @@ -37,8 +37,7 @@ |
38 | 38 | } |
39 | 39 | |
40 | 40 | function execute($parameter) { |
41 | | - global |
42 | | - $wgOut, $wgTitle; |
| 41 | + global $wgOut; |
43 | 42 | |
44 | 43 | initializeOmegaWikiAttributes(new ViewInformation()); |
45 | 44 | |
Index: trunk/extensions/ImageTagging/ImageTagging.php |
— | — | @@ -79,7 +79,7 @@ |
80 | 80 | function addTag($action, $article) { |
81 | 81 | if($action != 'addTag') return true; |
82 | 82 | |
83 | | - global $wgRequest, $wgTitle, $wgDBname, $wgOut, $wgUser; |
| 83 | + global $wgRequest, $wgDBname, $wgOut, $wgUser; |
84 | 84 | |
85 | 85 | wfProfileIn( __METHOD__ ); |
86 | 86 | |
— | — | @@ -135,7 +135,7 @@ |
136 | 136 | function removeTag($action, $article) { |
137 | 137 | if ($action != 'removeTag') return true; |
138 | 138 | |
139 | | - global $wgRequest, $wgTitle, $wgOut, $wgDBname, $wgUser; |
| 139 | + global $wgRequest, $wgOut, $wgDBname, $wgUser; |
140 | 140 | |
141 | 141 | wfProfileIn( __METHOD__ ); |
142 | 142 | |
— | — | @@ -184,7 +184,7 @@ |
185 | 185 | function tagSearch($action, $article) { |
186 | 186 | if($action != 'tagSearch') return true; |
187 | 187 | |
188 | | - global $wgRequest, $wgTitle, $wgDBname, $wgOut, $wgUser; |
| 188 | + global $wgRequest, $wgDBname, $wgOut, $wgUser; |
189 | 189 | |
190 | 190 | wfProfileIn( __METHOD__ ); |
191 | 191 | |
Index: trunk/extensions/SocialProfile/UserBoard/UserBoardClass.php |
— | — | @@ -239,7 +239,7 @@ |
240 | 240 | } |
241 | 241 | |
242 | 242 | public function getUserBoardToBoardCount( $user_id, $user_id_2 ){ |
243 | | - global $wgOut, $wgUser, $wgTitle, $wgDBprefix; |
| 243 | + global $wgOut, $wgUser, $wgDBprefix; |
244 | 244 | $dbr = wfGetDB( DB_SLAVE ); |
245 | 245 | |
246 | 246 | $user_sql = " ( (ub_user_id={$user_id} AND ub_user_id_from={$user_id_2}) OR |
Index: trunk/extensions/SocialProfile/UserProfile/UserProfile.php |
— | — | @@ -49,7 +49,7 @@ |
50 | 50 | * @return true |
51 | 51 | */ |
52 | 52 | function wfUserProfileFromTitle( &$title, &$article ){ |
53 | | - global $IP, $wgUser, $wgRequest, $wgOut, $wgTitle, $wgMemc, $wgStyleVersion, $wgHooks, |
| 53 | + global $IP, $wgUser, $wgRequest, $wgOut, $wgMemc, $wgStyleVersion, $wgHooks, |
54 | 54 | $wgUserPageChoice, $wgUserProfileScripts; |
55 | 55 | |
56 | 56 | if ( strpos( $title->getText(), "/" ) === false && ( NS_USER == $title->getNamespace() || NS_USER_PROFILE == $title->getNamespace() ) ) { |
Index: trunk/extensions/SocialProfile/UserProfile/UserProfilePage.php |
— | — | @@ -99,8 +99,6 @@ |
100 | 100 | } |
101 | 101 | |
102 | 102 | function getUserStatsRow( $label, $value ) { |
103 | | - global $wgUser, $wgTitle, $wgOut; |
104 | | - |
105 | 103 | $output = ''; // Prevent E_NOTICE |
106 | 104 | |
107 | 105 | if( $value != 0 ) { |
— | — | @@ -114,7 +112,7 @@ |
115 | 113 | } |
116 | 114 | |
117 | 115 | function getUserStats( $user_id, $user_name ) { |
118 | | - global $wgUser, $wgTitle, $IP, $wgUserProfileDisplay; |
| 116 | + global $wgUser, $IP, $wgUserProfileDisplay; |
119 | 117 | |
120 | 118 | // Load messages, we're gonna need 'em |
121 | 119 | wfLoadExtensionMessages( 'SocialProfileUserProfile' ); |
— | — | @@ -193,7 +191,7 @@ |
194 | 192 | } |
195 | 193 | |
196 | 194 | function getPersonalInfo( $user_id, $user_name ) { |
197 | | - global $IP, $wgTitle, $wgUser, $wgMemc, $wgUserProfileDisplay; |
| 195 | + global $IP, $wgUser, $wgMemc, $wgUserProfileDisplay; |
198 | 196 | |
199 | 197 | // Load messages, we're gonna need 'em |
200 | 198 | wfLoadExtensionMessages( 'SocialProfileUserProfile' ); |
— | — | @@ -282,7 +280,7 @@ |
283 | 281 | } |
284 | 282 | |
285 | 283 | function getCustomInfo( $user_name ) { |
286 | | - global $IP, $wgTitle, $wgUser, $wgMemc, $wgUserProfileDisplay; |
| 284 | + global $IP, $wgUser, $wgMemc, $wgUserProfileDisplay; |
287 | 285 | |
288 | 286 | if( $wgUserProfileDisplay['custom'] == false ) { |
289 | 287 | return ''; |
— | — | @@ -343,7 +341,7 @@ |
344 | 342 | } |
345 | 343 | |
346 | 344 | function getInterests( $user_name ) { |
347 | | - global $IP, $wgTitle, $wgUser, $wgMemc, $wgUserProfileDisplay; |
| 345 | + global $IP, $wgUser, $wgMemc, $wgUserProfileDisplay; |
348 | 346 | |
349 | 347 | // Load messages, we're gonna need 'em |
350 | 348 | wfLoadExtensionMessages( 'SocialProfileUserProfile' ); |
— | — | @@ -563,7 +561,7 @@ |
564 | 562 | } |
565 | 563 | |
566 | 564 | function getRelationships( $user_name, $rel_type ){ |
567 | | - global $IP, $wgMemc, $wgUser, $wgTitle, $wgUserProfileDisplay, $wgUploadPath; |
| 565 | + global $IP, $wgMemc, $wgUser, $wgUserProfileDisplay, $wgUploadPath; |
568 | 566 | |
569 | 567 | // Load messages, we're gonna need 'em |
570 | 568 | wfLoadExtensionMessages( 'SocialProfileUserProfile' ); |
— | — | @@ -656,7 +654,7 @@ |
657 | 655 | } |
658 | 656 | |
659 | 657 | function getGifts( $user_name ){ |
660 | | - global $IP, $wgUser, $wgTitle, $wgMemc, $wgUserProfileDisplay, $wgUploadPath; |
| 658 | + global $IP, $wgUser, $wgMemc, $wgUserProfileDisplay, $wgUploadPath; |
661 | 659 | |
662 | 660 | // Load messages, we're gonna need 'em |
663 | 661 | wfLoadExtensionMessages( 'SocialProfileUserProfile' ); |
— | — | @@ -740,7 +738,7 @@ |
741 | 739 | } |
742 | 740 | |
743 | 741 | function getAwards( $user_name ){ |
744 | | - global $IP, $wgUser, $wgTitle, $wgMemc, $wgUserProfileDisplay, $wgUploadPath; |
| 742 | + global $IP, $wgUser, $wgMemc, $wgUserProfileDisplay, $wgUploadPath; |
745 | 743 | |
746 | 744 | // Load messages, we're gonna need 'em |
747 | 745 | wfLoadExtensionMessages( 'SocialProfileUserProfile' ); |
— | — | @@ -823,7 +821,7 @@ |
824 | 822 | } |
825 | 823 | |
826 | 824 | function getUserBoard( $user_id, $user_name ){ |
827 | | - global $IP, $wgMemc, $wgUser, $wgTitle, $wgOut, $wgUserProfileDisplay, $wgUserProfileScripts; |
| 825 | + global $IP, $wgMemc, $wgUser, $wgOut, $wgUserProfileDisplay, $wgUserProfileScripts; |
828 | 826 | |
829 | 827 | // Load messages, we're gonna need 'em |
830 | 828 | wfLoadExtensionMessages( 'SocialProfileUserProfile' ); |
Index: trunk/extensions/SocialProfile/UserRelationship/SpecialViewRelationshipRequests.php |
— | — | @@ -24,7 +24,7 @@ |
25 | 25 | * @param $params Mixed: parameter(s) passed to the page or null |
26 | 26 | */ |
27 | 27 | public function execute( $params ) { |
28 | | - global $wgUser, $wgOut, $wgTitle, $wgRequest, $wgUserRelationshipScripts; |
| 28 | + global $wgUser, $wgOut, $wgRequest, $wgUserRelationshipScripts; |
29 | 29 | wfLoadExtensionMessages( 'SocialProfileUserRelationship' ); |
30 | 30 | |
31 | 31 | /** |
Index: trunk/extensions/Polyglot/Polyglot.php |
— | — | @@ -81,7 +81,7 @@ |
82 | 82 | |
83 | 83 | function wfPolyglotArticleFromTitle( &$title, &$article ) { |
84 | 84 | global $wfPolyglotExcemptNamespaces, $wfPolyglotExcemptTalkPages, $wfPolyglotFollowRedirects; |
85 | | - global $wgLang, $wgTitle, $wgRequest; |
| 85 | + global $wgLang, $wgRequest; |
86 | 86 | |
87 | 87 | if ($wgRequest->getVal( 'redirect' ) == 'no') { |
88 | 88 | return true; |
Index: trunk/extensions/ProofreadPage/ProofreadPage.php |
— | — | @@ -271,7 +271,7 @@ |
272 | 272 | |
273 | 273 | |
274 | 274 | function pr_prepareIndex( $out ) { |
275 | | - global $wgTitle, $wgJsMimeType, $wgScriptPath, $wgRequest, $wgProofreadPageVersion; |
| 275 | + global $wgJsMimeType, $wgScriptPath, $wgRequest, $wgProofreadPageVersion; |
276 | 276 | $jsFile = htmlspecialchars( "$wgScriptPath/extensions/ProofreadPage/proofread_index.js?$wgProofreadPageVersion" ); |
277 | 277 | |
278 | 278 | $out->addScript( <<<EOT |
— | — | @@ -292,7 +292,7 @@ |
293 | 293 | |
294 | 294 | |
295 | 295 | function pr_preparePage( $out, $m, $isEdit ) { |
296 | | - global $wgTitle, $wgJsMimeType, $wgScriptPath, $wgRequest, $wgProofreadPageVersion; |
| 296 | + global $wgJsMimeType, $wgScriptPath, $wgRequest, $wgProofreadPageVersion; |
297 | 297 | |
298 | 298 | $imageTitle = Title::makeTitleSafe( NS_IMAGE, $m[1] ); |
299 | 299 | if ( !$imageTitle ) { |
Index: trunk/extensions/CSS/CSS.php |
— | — | @@ -39,7 +39,7 @@ |
40 | 40 | } |
41 | 41 | |
42 | 42 | function magicCss(&$parser, $css) { |
43 | | - global $wgOut, $wgRequest, $wgTitle; |
| 43 | + global $wgOut, $wgRequest; |
44 | 44 | $parser->mOutput->mCacheTime = -1; |
45 | 45 | $url = false; |
46 | 46 | if (ereg('\\{', $css)) { |
Index: trunk/extensions/CentralNotice/SpecialCentralNotice.php |
— | — | @@ -351,7 +351,7 @@ |
352 | 352 | */ |
353 | 353 | |
354 | 354 | function listNotices() { |
355 | | - global $wgOut, $wgRequest, $wgTitle, $wgScript, $wgUser; |
| 355 | + global $wgOut, $wgRequest, $wgScript, $wgUser; |
356 | 356 | global $wgNoticeProject, $wgUserLang; |
357 | 357 | |
358 | 358 | // Get connection |
Index: trunk/extensions/CentralNotice/SpecialNoticeTemplate.php |
— | — | @@ -114,7 +114,7 @@ |
115 | 115 | } |
116 | 116 | |
117 | 117 | function showList() { |
118 | | - global $wgOut, $wgTitle, $wgUser, $wgRequest; |
| 118 | + global $wgOut, $wgUser, $wgRequest; |
119 | 119 | |
120 | 120 | $sk = $wgUser->getSkin(); |
121 | 121 | |
— | — | @@ -207,7 +207,7 @@ |
208 | 208 | } |
209 | 209 | |
210 | 210 | function showAdd() { |
211 | | - global $wgOut, $wgTitle, $wgUser; |
| 211 | + global $wgOut, $wgUser; |
212 | 212 | |
213 | 213 | // Build HTML |
214 | 214 | $htmlOut = Xml::openElement( 'form', array( 'method' => 'post' ) ); |
Index: trunk/extensions/Crosswiki/Block/CrosswikiBlock.page.php |
— | — | @@ -23,7 +23,7 @@ |
24 | 24 | * @param mixed $par Parameter passed to the page |
25 | 25 | */ |
26 | 26 | public function execute( $par ) { |
27 | | - global $wgOut, $wgUser, $wgTitle, $wgRequest, $wgContLang, $wgLang; |
| 27 | + global $wgOut, $wgUser, $wgRequest, $wgContLang, $wgLang; |
28 | 28 | global $wgVersion, $wgMaxNameChars, $wgCapitalLinks; |
29 | 29 | |
30 | 30 | # Add messages |
— | — | @@ -256,7 +256,7 @@ |
257 | 257 | * @param mixed $par Parameter passed to the page |
258 | 258 | */ |
259 | 259 | public function execute( $par ) { |
260 | | - global $wgOut, $wgUser, $wgTitle, $wgRequest, $wgContLang, $wgLang; |
| 260 | + global $wgOut, $wgUser, $wgRequest, $wgContLang, $wgLang; |
261 | 261 | global $wgVersion, $wgMaxNameChars, $wgCapitalLinks; |
262 | 262 | |
263 | 263 | # Add messages |
Index: trunk/extensions/wikiwyg/share/MediaWiki/extensions/MediaWikiWyg.php |
— | — | @@ -50,7 +50,7 @@ |
51 | 51 | |
52 | 52 | function registerWikiwygExtension() { |
53 | 53 | global $wgOut, $wgSkin, $jsdir, $cssdir, $wgScriptPath; |
54 | | - global $wgWikiwygPath, $wgUser, $wgTitle; |
| 54 | + global $wgWikiwygPath, $wgUser; |
55 | 55 | global $wgServer, $wgWikiwygJsPath, $wgWikiwygCssPath, $wgWikiwygImagePath; |
56 | 56 | global $wgRequest, $wgWysiwygEnabled; |
57 | 57 | global $wgLang, $wgContLang, $wgEnableAjaxLogin; |
— | — | @@ -252,7 +252,7 @@ |
253 | 253 | } |
254 | 254 | |
255 | 255 | function execute( $par ) { |
256 | | - global $wgRequest, $wgOut, $wgTitle, $wgUser; |
| 256 | + global $wgRequest, $wgOut, $wgUser; |
257 | 257 | |
258 | 258 | /* if (!in_array( 'ezparser', $wgUser->getRights() ) ) { |
259 | 259 | $wgOut->setArticleRelated( false ); |
— | — | @@ -277,7 +277,7 @@ |
278 | 278 | |
279 | 279 | function parseText($text, $title){ |
280 | 280 | #still need to make it actually parse the input. |
281 | | - global $wgOut, $wgUser, $wgTitle, $wgParser, $wgAllowDiffPreview, $wgEnableDiffPreviewPreference; |
| 281 | + global $wgOut, $wgUser, $wgParser, $wgAllowDiffPreview, $wgEnableDiffPreviewPreference; |
282 | 282 | $parserOptions = ParserOptions::newFromUser( $wgUser ); |
283 | 283 | $parserOptions->setEditSection( false ); |
284 | 284 | $rtitle = Title::newFromText($title); |
— | — | @@ -312,7 +312,7 @@ |
313 | 313 | } |
314 | 314 | |
315 | 315 | function execute( $par ) { |
316 | | - global $wgRequest, $wgOut, $wgTitle, $wgUser; |
| 316 | + global $wgRequest, $wgOut, $wgUser; |
317 | 317 | |
318 | 318 | $this->setHeaders(); |
319 | 319 | |
Index: trunk/extensions/wikiwyg/share/MediaWiki/extensions/EZParser.php |
— | — | @@ -21,7 +21,7 @@ |
22 | 22 | } |
23 | 23 | |
24 | 24 | function execute( $par ) { |
25 | | - global $wgRequest, $wgOut, $wgTitle, $wgUser; |
| 25 | + global $wgRequest, $wgOut, $wgUser; |
26 | 26 | |
27 | 27 | if (!in_array( 'ezparser', $wgUser->getRights() ) ) { |
28 | 28 | $wgOut->setArticleRelated( false ); |
Index: trunk/extensions/SpecialForm/SpecialForm.body.php |
— | — | @@ -86,7 +86,7 @@ |
87 | 87 | } |
88 | 88 | |
89 | 89 | function showForm($form, $errmsg = NULL) { |
90 | | - global $wgOut, $wgRequest, $wgParser, $wgTitle, $wgUser, $wgSpecialFormRecaptcha; |
| 90 | + global $wgOut, $wgRequest, $wgParser, $wgUser, $wgSpecialFormRecaptcha; |
91 | 91 | |
92 | 92 | $self = SpecialPage::getTitleFor(wfMsgForContent('form') . '/' . $form->name); |
93 | 93 | |
Index: trunk/extensions/EmergencyDeSysop/SpecialEmergencyDeSysop.php |
— | — | @@ -135,7 +135,7 @@ |
136 | 136 | * @brief function executed when the special page is opened. |
137 | 137 | */ |
138 | 138 | function execute( $subpage ) { |
139 | | - global $wgRequest, $wgOut, $wgUser, $wgTitle; |
| 139 | + global $wgRequest, $wgOut, $wgUser; |
140 | 140 | $this->setHeaders(); |
141 | 141 | |
142 | 142 | //if the user is blocked, deny access. |
Index: trunk/extensions/geoserver/geoserver.php |
— | — | @@ -36,7 +36,7 @@ |
37 | 37 | * Return markup, but also a pointer to Map sources |
38 | 38 | */ |
39 | 39 | function parseGeo ( $text, $params, &$parser ) { |
40 | | - global $wgTitle, $action, $GeoserverParameters, $wgWikiMapsJS; |
| 40 | + global $action, $GeoserverParameters, $wgWikiMapsJS; |
41 | 41 | $latpat= '(-?[0-9.]*) *(([0-9.]+) *([0-9.]+)?)? *([NS])'; |
42 | 42 | $lonpat= '(-?[0-9.]*) *(([0-9.]+) *([0-9.]+)?)? *([EW])'; |
43 | 43 | $featcodepat = '(([AHLPRSTUV])\.([A-Z.]*))?'; |
Index: trunk/extensions/MetavidWiki/includes/MV_MetavidInterface/MV_EditPageAjax.php |
— | — | @@ -98,7 +98,7 @@ |
99 | 99 | } |
100 | 100 | /* copy of edit() from edit page (to override empty page)*/ |
101 | 101 | function edit( $textbox1_override = null ) { |
102 | | - global $wgOut, $wgUser, $wgRequest, $wgTitle; |
| 102 | + global $wgOut, $wgUser, $wgRequest; |
103 | 103 | |
104 | 104 | $fname = 'MV_EditPage::edit'; |
105 | 105 | wfProfileIn( $fname ); |
Index: trunk/extensions/MetavidWiki/includes/MV_GlobalFunctions.php |
— | — | @@ -344,7 +344,7 @@ |
345 | 345 | * enables linkback and autocomplete for search |
346 | 346 | */ |
347 | 347 | function mvfAutoAllPageHeader() { |
348 | | - global $mvgScriptPath, $wgJsMimeType, $wgOut, $mvExtraHeader, $wgTitle, $mvgJSDebug, $wgEnableScriptLoader, $wgRequest;; |
| 348 | + global $mvgScriptPath, $wgJsMimeType, $wgOut, $mvExtraHeader, $mvgJSDebug, $wgEnableScriptLoader, $wgRequest;; |
349 | 349 | $mvgScriptPath = htmlspecialchars( $mvgScriptPath ); |
350 | 350 | $wgJsMimeType = htmlspecialchars( $wgJsMimeType ) ; |
351 | 351 | //set the unquie request value |
Index: trunk/extensions/MetavidWiki/includes/MV_EditStreamPage.php |
— | — | @@ -37,7 +37,7 @@ |
38 | 38 | } |
39 | 39 | /*put thrown together quickly... could clean up/simplify*/ |
40 | 40 | function displayEditStreamFiles() { |
41 | | - global $wgOut, $wgTitle, $wgScriptPath, $wgRequest, $wgUser; |
| 41 | + global $wgOut, $wgScriptPath, $wgRequest, $wgUser; |
42 | 42 | $html = ''; |
43 | 43 | |
44 | 44 | $streamFiles = $this->mArticle->mvTitle->mvStream->getFileList(); |
Index: trunk/extensions/MetavidWiki/includes/specials/MV_SpecialCRUDStream.php |
— | — | @@ -25,7 +25,7 @@ |
26 | 26 | |
27 | 27 | } |
28 | 28 | function execute() { |
29 | | - global $wgRequest, $wgOut, $wgUser, $mvStream_name, $mvgIP, $wgTitle; |
| 29 | + global $wgRequest, $wgOut, $wgUser, $mvStream_name, $mvgIP; |
30 | 30 | # init html output var: |
31 | 31 | $html = ''; |
32 | 32 | |
Index: trunk/extensions/MetavidWiki/includes/articlepages/MV_DataPage.php |
— | — | @@ -17,7 +17,7 @@ |
18 | 18 | parent::__construct( $title ); |
19 | 19 | } |
20 | 20 | public function view() { |
21 | | - global $wgRequest, $wgUser, $wgOut, $wgTitle, $wgJsMimeType, $mvgScriptPath; |
| 21 | + global $wgRequest, $wgUser, $wgOut, $wgJsMimeType, $mvgScriptPath; |
22 | 22 | |
23 | 23 | // copied from CategoryPage ... |
24 | 24 | $diff = $wgRequest->getVal( 'diff' ); |
— | — | @@ -87,7 +87,7 @@ |
88 | 88 | * @returns MV dataPage top html |
89 | 89 | */ |
90 | 90 | function mvArticleTop() { |
91 | | - global $mvgIP, $wgTitle, $wgUser; |
| 91 | + global $mvgIP, $wgUser; |
92 | 92 | $sk = $wgUser->getSkin(); |
93 | 93 | |
94 | 94 | $streamTitle = Title::makeTitle( MV_NS_STREAM, $this->mvTitle->getStreamNameText() ); |
Index: trunk/extensions/MetavidWiki/includes/articlepages/MV_StreamPage.php |
— | — | @@ -45,7 +45,7 @@ |
46 | 46 | return new MV_StreamPage( $article->mTitle, $mvTitle ); |
47 | 47 | } |
48 | 48 | public function view() { |
49 | | - global $wgRequest, $wgUser, $wgOut, $wgTitle, $wgJsMimeType, $mvgScriptPath; |
| 49 | + global $wgRequest, $wgUser, $wgOut, $wgJsMimeType, $mvgScriptPath; |
50 | 50 | // @@TODO fix stream view() for old versions ... will likely have to replicate Article::view() |
51 | 51 | |
52 | 52 | // include the metavid headers (for embedding video in the page) |
Index: trunk/extensions/experimental/SpecialData.php |
— | — | @@ -62,7 +62,7 @@ |
63 | 63 | function wfDataView ( $dt ) # $dt = data type |
64 | 64 | { |
65 | 65 | if ( $dt == '' ) return ; |
66 | | - global $wgParser, $wgTitle; |
| 66 | + global $wgParser; |
67 | 67 | global $wgOut , $wgUser ; |
68 | 68 | $nsdata = 20 ; |
69 | 69 | $s = "<h2>{$dt}</h2>" ; |
Index: trunk/extensions/PlayerStatsGrabber/PlayerStatsGrabber_body.php |
— | — | @@ -45,7 +45,7 @@ |
46 | 46 | } |
47 | 47 | } |
48 | 48 | function do_stats_page() { |
49 | | - global $wgOut, $wgRequest, $wgTitle; |
| 49 | + global $wgOut, $wgRequest; |
50 | 50 | $wgOut->addWikiText( wfMsg( 'ps_stats_welcome_link' ) ); |
51 | 51 | } |
52 | 52 | function do_survey_forum() { |
Index: trunk/extensions/Farmer/SpecialFarmer.php |
— | — | @@ -105,7 +105,7 @@ |
106 | 106 | * Displays form to create wiki |
107 | 107 | */ |
108 | 108 | protected function _executeCreate( $wgFarmer, $wiki ){ |
109 | | - global $wgOut, $wgUser, $wgTitle, $wgRequest; |
| 109 | + global $wgOut, $wgUser, $wgRequest; |
110 | 110 | |
111 | 111 | $confirmaccount = wfMsg( 'farmer-button-confirm' ); |
112 | 112 | |