r49342 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r49341‎ | r49342 | r49343 >
Date:14:57, 9 April 2009
Author:demon
Status:deferred
Tags:
Comment:
All unused $wgTitles.
Modified paths:
  • /trunk/extensions/CSS/CSS.php (modified) (history)
  • /trunk/extensions/CentralNotice/SpecialCentralNotice.php (modified) (history)
  • /trunk/extensions/CentralNotice/SpecialNoticeTemplate.php (modified) (history)
  • /trunk/extensions/Crosswiki/Block/CrosswikiBlock.page.php (modified) (history)
  • /trunk/extensions/Data/SpecialData.php (modified) (history)
  • /trunk/extensions/DataCenter/DataCenter.ui.php (modified) (history)
  • /trunk/extensions/DeleteQueue/DeleteQueue.hooks.php (modified) (history)
  • /trunk/extensions/DeleteQueue/Views/DeleteQueueViewVote.php (modified) (history)
  • /trunk/extensions/EditUser/1.15/EditUser_body.php (modified) (history)
  • /trunk/extensions/EmergencyDeSysop/SpecialEmergencyDeSysop.php (modified) (history)
  • /trunk/extensions/Farmer/SpecialFarmer.php (modified) (history)
  • /trunk/extensions/ImageTagging/ImageTagging.php (modified) (history)
  • /trunk/extensions/MetavidWiki/includes/MV_EditStreamPage.php (modified) (history)
  • /trunk/extensions/MetavidWiki/includes/MV_GlobalFunctions.php (modified) (history)
  • /trunk/extensions/MetavidWiki/includes/MV_MetavidInterface/MV_EditPageAjax.php (modified) (history)
  • /trunk/extensions/MetavidWiki/includes/articlepages/MV_DataPage.php (modified) (history)
  • /trunk/extensions/MetavidWiki/includes/articlepages/MV_StreamPage.php (modified) (history)
  • /trunk/extensions/MetavidWiki/includes/specials/MV_SpecialCRUDStream.php (modified) (history)
  • /trunk/extensions/PlayerStatsGrabber/PlayerStatsGrabber_body.php (modified) (history)
  • /trunk/extensions/Polyglot/Polyglot.php (modified) (history)
  • /trunk/extensions/Postcomment/SpecialPostcomment.php (modified) (history)
  • /trunk/extensions/ProofreadPage/ProofreadPage.php (modified) (history)
  • /trunk/extensions/RandomUsersWithAvatars/RandomUsersWithAvatars.php (modified) (history)
  • /trunk/extensions/SignDocument/SpecialSignDocument.php (modified) (history)
  • /trunk/extensions/SocialProfile/UserBoard/UserBoardClass.php (modified) (history)
  • /trunk/extensions/SocialProfile/UserProfile/UserProfile.php (modified) (history)
  • /trunk/extensions/SocialProfile/UserProfile/UserProfilePage.php (modified) (history)
  • /trunk/extensions/SocialProfile/UserRelationship/SpecialViewRelationshipRequests.php (modified) (history)
  • /trunk/extensions/SpecialForm/SpecialForm.body.php (modified) (history)
  • /trunk/extensions/SpecialTalk/SpecialTalk.php (modified) (history)
  • /trunk/extensions/WikiTextLoggedInOut/WikiTextLoggedInOut.php (modified) (history)
  • /trunk/extensions/Wikidata/OmegaWiki/SpecialConceptMapping.php (modified) (history)
  • /trunk/extensions/Wikidata/OmegaWiki/SpecialCopy.php (modified) (history)
  • /trunk/extensions/Wikidata/OmegaWiki/SpecialDatasearch.php (modified) (history)
  • /trunk/extensions/Wikidata/SpecialLanguages.php (modified) (history)
  • /trunk/extensions/experimental/SpecialData.php (modified) (history)
  • /trunk/extensions/geoserver/geoserver.php (modified) (history)
  • /trunk/extensions/wikiforum/wikiforum.php (modified) (history)
  • /trunk/extensions/wikiwyg/share/MediaWiki/extensions/EZParser.php (modified) (history)
  • /trunk/extensions/wikiwyg/share/MediaWiki/extensions/MediaWikiWyg.php (modified) (history)

Diff [purge]

Index: trunk/extensions/DeleteQueue/Views/DeleteQueueViewVote.php
@@ -16,7 +16,7 @@
1717 * @param Article $article The article to endorse/object to deletion of.
1818 */
1919 public function process( $article ) {
20 - global $wgRequest,$wgOut,$wgUser,$wgTitle;
 20+ global $wgRequest,$wgOut,$wgUser;
2121
2222 $errs =
2323 $article->mTitle->getUserPermissionsErrors( 'deletequeue-vote', $wgUser );
Index: trunk/extensions/DeleteQueue/DeleteQueue.hooks.php
@@ -4,7 +4,7 @@
55
66 class DeleteQueueHooks {
77 public static function onSkinTemplateTabs( $st, &$actions ) {
8 - global $wgTitle,$wgRequest,$wgUser;
 8+ global $wgRequest,$wgUser;
99
1010 if (!$st->mTitle) {
1111 global $wgTitle;
Index: trunk/extensions/DataCenter/DataCenter.ui.php
@@ -1130,7 +1130,7 @@
11311131 DataCenterController $controller,
11321132 array $path
11331133 ) {
1134 - global $wgTitle, $wgUser;
 1134+ global $wgUser;
11351135 // Adds main menu
11361136 self::$output['menu'] .= DataCenterXml::open(
11371137 'div', array( 'class' => 'menu' )
Index: trunk/extensions/Data/SpecialData.php
@@ -75,7 +75,7 @@
7676 function wfDataView ( $dt ) # $dt = data type
7777 {
7878 if ( $dt == "" ) return ;
79 - global $wgParser, $wgTitle;
 79+ global $wgParser;
8080 global $wgOut , $wgUser ;
8181 $nsdata = 20 ;
8282 $s = "<h2>{$dt}</h2>" ;
Index: trunk/extensions/RandomUsersWithAvatars/RandomUsersWithAvatars.php
@@ -32,7 +32,7 @@
3333 }
3434
3535 function GetRandomUsersWithAvatars( $input, $args, &$parser ){
36 - global $wgUser, $wgParser, $wgTitle, $wgOut, $wgUploadDirectory, $wgDBname, $wgMemc;
 36+ global $wgUser, $wgParser, $wgOut, $wgUploadDirectory, $wgDBname, $wgMemc;
3737 wfLoadExtensionMessages('RandomUsersWithAvatars');
3838
3939 wfProfileIn(__METHOD__);
Index: trunk/extensions/Postcomment/SpecialPostcomment.php
@@ -86,7 +86,7 @@
8787
8888 function wfSpecialPostcomment( $par )
8989 {
90 - global $wgUser, $wgOut, $wgLang, $wgTitle, $wgMemc, $wgDBname;
 90+ global $wgUser, $wgOut, $wgLang, $wgMemc, $wgDBname;
9191 global $wgRequest, $wgSitename, $wgLanguageCode;
9292 global $wgFeedClasses, $wgFilterCallback, $wgWhitelistEdit;
9393
Index: trunk/extensions/EditUser/1.15/EditUser_body.php
@@ -95,7 +95,7 @@
9696 }
9797
9898 public function execute( $par ) {
99 - global $wgUser, $wgOut, $wgTitle;
 99+ global $wgUser, $wgOut;
100100 #Begin EditUser additions
101101 global $wgRequest;
102102 if( !$wgUser->isAllowed( 'edituser' ) ) {
Index: trunk/extensions/wikiforum/wikiforum.php
@@ -509,7 +509,7 @@
510510 * @addtogroup Extensions
511511 */
512512 function wfForum() {
513 - global $IP, $wgAllMessagesEn, $wgNavigationLinks, $wgTitle;
 513+ global $IP, $wgAllMessagesEn, $wgNavigationLinks;
514514 require_once( $IP.'/includes/SpecialPage.php' );
515515
516516
Index: trunk/extensions/SignDocument/SpecialSignDocument.php
@@ -113,7 +113,7 @@
114114 }
115115
116116 function showSignForm() {
117 - global $wgOut, $wgUser, $wgRequest, $wgTitle;
 117+ global $wgOut, $wgUser, $wgRequest;
118118
119119 $this->mForm = SignDocumentForm::newFromDB( $wgRequest->getVal('doc') );
120120
@@ -306,7 +306,7 @@
307307 private $mFields;
308308
309309 function execute() {
310 - global $wgRequest, $wgTitle, $wgUser;
 310+ global $wgRequest, $wgUser;
311311
312312 if ($wgRequest->getVal('detail')) {
313313 $this->doDetail();
Index: trunk/extensions/WikiTextLoggedInOut/WikiTextLoggedInOut.php
@@ -36,7 +36,7 @@
3737 }
3838
3939 function OutputLoggedInText( $input, $args, &$parser ) {
40 - global $wgUser, $wgTitle, $wgOut;
 40+ global $wgUser, $wgOut;
4141
4242 if( $wgUser->isLoggedIn() ){
4343 return $parser->recursiveTagParse($input);
@@ -58,7 +58,7 @@
5959 }
6060
6161 function OutputLoggedOutText( $input, $args, &$parser ) {
62 - global $wgUser, $wgTitle, $wgOut;
 62+ global $wgUser, $wgOut;
6363
6464 if( !$wgUser->isLoggedIn() ){
6565 return $parser->recursiveTagParse($input);
Index: trunk/extensions/SpecialTalk/SpecialTalk.php
@@ -30,8 +30,6 @@
3131 }
3232
3333 public function SpecialTalkHook( SkinTemplate &$skin_template, array &$content_actions ) {
34 - global $wgTitle;
35 -
3634 $title = Title::makeTitle( NS_PROJECT_TALK, $skin_template->mTitle->getText() );
3735
3836 $content_actions['talk'] = $skin_template->tabAction(
Index: trunk/extensions/Wikidata/SpecialLanguages.php
@@ -37,7 +37,7 @@
3838 }
3939
4040 function execute( $par ) {
41 - global $wgOut, $wgRequest, $wgTitle, $wgUser;
 41+ global $wgOut, $wgRequest, $wgUser;
4242 $wgOut->setPageTitle(wfMsg('langman_title'));
4343 if(!$wgUser->isAllowed('addlanguage')) {
4444 $wgOut->addHTML(wfMsg('langman_not_allowed'));
Index: trunk/extensions/Wikidata/OmegaWiki/SpecialConceptMapping.php
@@ -35,7 +35,7 @@
3636 }
3737
3838 function execute( $par ) {
39 - global $wgOut, $wgRequest, $wgTitle, $wgUser, $wdTermDBDataSet;
 39+ global $wgOut, $wgRequest, $wgUser, $wdTermDBDataSet;
4040 $wgOut->setPageTitle(wfMsg('ow_conceptmapping_title'));
4141
4242 if(!$wgUser->isAllowed('editwikidata-'.$wdTermDBDataSet)) {
Index: trunk/extensions/Wikidata/OmegaWiki/SpecialCopy.php
@@ -40,7 +40,7 @@
4141 UnlistedSpecialPage::UnlistedSpecialPage( 'Copy' );
4242 }
4343 function execute( $par ) {
44 - global $wgOut, $wgRequest, $wgTitle, $wgUser, $wdTermDBDataSet;
 44+ global $wgOut, $wgRequest, $wgUser, $wdTermDBDataSet;
4545
4646 #$wgOut->setPageTitle("Special:Copy");
4747 if(!$wgUser->isAllowed('wikidata-copy')) {
@@ -122,8 +122,7 @@
123123 * make sure you haven't used $wgOut before calling this!
124124 */
125125 protected function autoredir() {
126 - global
127 - $wgTitle, $wgOut, $wgRequest;
 126+ global $wgOut, $wgRequest;
128127
129128 $dmid_dirty=$wgRequest->getText("dmid");
130129 $dc1_dirty=$wgRequest->getText("dc1");
Index: trunk/extensions/Wikidata/OmegaWiki/SpecialDatasearch.php
@@ -37,8 +37,7 @@
3838 }
3939
4040 function execute($parameter) {
41 - global
42 - $wgOut, $wgTitle;
 41+ global $wgOut;
4342
4443 initializeOmegaWikiAttributes(new ViewInformation());
4544
Index: trunk/extensions/ImageTagging/ImageTagging.php
@@ -79,7 +79,7 @@
8080 function addTag($action, $article) {
8181 if($action != 'addTag') return true;
8282
83 - global $wgRequest, $wgTitle, $wgDBname, $wgOut, $wgUser;
 83+ global $wgRequest, $wgDBname, $wgOut, $wgUser;
8484
8585 wfProfileIn( __METHOD__ );
8686
@@ -135,7 +135,7 @@
136136 function removeTag($action, $article) {
137137 if ($action != 'removeTag') return true;
138138
139 - global $wgRequest, $wgTitle, $wgOut, $wgDBname, $wgUser;
 139+ global $wgRequest, $wgOut, $wgDBname, $wgUser;
140140
141141 wfProfileIn( __METHOD__ );
142142
@@ -184,7 +184,7 @@
185185 function tagSearch($action, $article) {
186186 if($action != 'tagSearch') return true;
187187
188 - global $wgRequest, $wgTitle, $wgDBname, $wgOut, $wgUser;
 188+ global $wgRequest, $wgDBname, $wgOut, $wgUser;
189189
190190 wfProfileIn( __METHOD__ );
191191
Index: trunk/extensions/SocialProfile/UserBoard/UserBoardClass.php
@@ -239,7 +239,7 @@
240240 }
241241
242242 public function getUserBoardToBoardCount( $user_id, $user_id_2 ){
243 - global $wgOut, $wgUser, $wgTitle, $wgDBprefix;
 243+ global $wgOut, $wgUser, $wgDBprefix;
244244 $dbr = wfGetDB( DB_SLAVE );
245245
246246 $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 @@
5050 * @return true
5151 */
5252 function wfUserProfileFromTitle( &$title, &$article ){
53 - global $IP, $wgUser, $wgRequest, $wgOut, $wgTitle, $wgMemc, $wgStyleVersion, $wgHooks,
 53+ global $IP, $wgUser, $wgRequest, $wgOut, $wgMemc, $wgStyleVersion, $wgHooks,
5454 $wgUserPageChoice, $wgUserProfileScripts;
5555
5656 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 @@
100100 }
101101
102102 function getUserStatsRow( $label, $value ) {
103 - global $wgUser, $wgTitle, $wgOut;
104 -
105103 $output = ''; // Prevent E_NOTICE
106104
107105 if( $value != 0 ) {
@@ -114,7 +112,7 @@
115113 }
116114
117115 function getUserStats( $user_id, $user_name ) {
118 - global $wgUser, $wgTitle, $IP, $wgUserProfileDisplay;
 116+ global $wgUser, $IP, $wgUserProfileDisplay;
119117
120118 // Load messages, we're gonna need 'em
121119 wfLoadExtensionMessages( 'SocialProfileUserProfile' );
@@ -193,7 +191,7 @@
194192 }
195193
196194 function getPersonalInfo( $user_id, $user_name ) {
197 - global $IP, $wgTitle, $wgUser, $wgMemc, $wgUserProfileDisplay;
 195+ global $IP, $wgUser, $wgMemc, $wgUserProfileDisplay;
198196
199197 // Load messages, we're gonna need 'em
200198 wfLoadExtensionMessages( 'SocialProfileUserProfile' );
@@ -282,7 +280,7 @@
283281 }
284282
285283 function getCustomInfo( $user_name ) {
286 - global $IP, $wgTitle, $wgUser, $wgMemc, $wgUserProfileDisplay;
 284+ global $IP, $wgUser, $wgMemc, $wgUserProfileDisplay;
287285
288286 if( $wgUserProfileDisplay['custom'] == false ) {
289287 return '';
@@ -343,7 +341,7 @@
344342 }
345343
346344 function getInterests( $user_name ) {
347 - global $IP, $wgTitle, $wgUser, $wgMemc, $wgUserProfileDisplay;
 345+ global $IP, $wgUser, $wgMemc, $wgUserProfileDisplay;
348346
349347 // Load messages, we're gonna need 'em
350348 wfLoadExtensionMessages( 'SocialProfileUserProfile' );
@@ -563,7 +561,7 @@
564562 }
565563
566564 function getRelationships( $user_name, $rel_type ){
567 - global $IP, $wgMemc, $wgUser, $wgTitle, $wgUserProfileDisplay, $wgUploadPath;
 565+ global $IP, $wgMemc, $wgUser, $wgUserProfileDisplay, $wgUploadPath;
568566
569567 // Load messages, we're gonna need 'em
570568 wfLoadExtensionMessages( 'SocialProfileUserProfile' );
@@ -656,7 +654,7 @@
657655 }
658656
659657 function getGifts( $user_name ){
660 - global $IP, $wgUser, $wgTitle, $wgMemc, $wgUserProfileDisplay, $wgUploadPath;
 658+ global $IP, $wgUser, $wgMemc, $wgUserProfileDisplay, $wgUploadPath;
661659
662660 // Load messages, we're gonna need 'em
663661 wfLoadExtensionMessages( 'SocialProfileUserProfile' );
@@ -740,7 +738,7 @@
741739 }
742740
743741 function getAwards( $user_name ){
744 - global $IP, $wgUser, $wgTitle, $wgMemc, $wgUserProfileDisplay, $wgUploadPath;
 742+ global $IP, $wgUser, $wgMemc, $wgUserProfileDisplay, $wgUploadPath;
745743
746744 // Load messages, we're gonna need 'em
747745 wfLoadExtensionMessages( 'SocialProfileUserProfile' );
@@ -823,7 +821,7 @@
824822 }
825823
826824 function getUserBoard( $user_id, $user_name ){
827 - global $IP, $wgMemc, $wgUser, $wgTitle, $wgOut, $wgUserProfileDisplay, $wgUserProfileScripts;
 825+ global $IP, $wgMemc, $wgUser, $wgOut, $wgUserProfileDisplay, $wgUserProfileScripts;
828826
829827 // Load messages, we're gonna need 'em
830828 wfLoadExtensionMessages( 'SocialProfileUserProfile' );
Index: trunk/extensions/SocialProfile/UserRelationship/SpecialViewRelationshipRequests.php
@@ -24,7 +24,7 @@
2525 * @param $params Mixed: parameter(s) passed to the page or null
2626 */
2727 public function execute( $params ) {
28 - global $wgUser, $wgOut, $wgTitle, $wgRequest, $wgUserRelationshipScripts;
 28+ global $wgUser, $wgOut, $wgRequest, $wgUserRelationshipScripts;
2929 wfLoadExtensionMessages( 'SocialProfileUserRelationship' );
3030
3131 /**
Index: trunk/extensions/Polyglot/Polyglot.php
@@ -81,7 +81,7 @@
8282
8383 function wfPolyglotArticleFromTitle( &$title, &$article ) {
8484 global $wfPolyglotExcemptNamespaces, $wfPolyglotExcemptTalkPages, $wfPolyglotFollowRedirects;
85 - global $wgLang, $wgTitle, $wgRequest;
 85+ global $wgLang, $wgRequest;
8686
8787 if ($wgRequest->getVal( 'redirect' ) == 'no') {
8888 return true;
Index: trunk/extensions/ProofreadPage/ProofreadPage.php
@@ -271,7 +271,7 @@
272272
273273
274274 function pr_prepareIndex( $out ) {
275 - global $wgTitle, $wgJsMimeType, $wgScriptPath, $wgRequest, $wgProofreadPageVersion;
 275+ global $wgJsMimeType, $wgScriptPath, $wgRequest, $wgProofreadPageVersion;
276276 $jsFile = htmlspecialchars( "$wgScriptPath/extensions/ProofreadPage/proofread_index.js?$wgProofreadPageVersion" );
277277
278278 $out->addScript( <<<EOT
@@ -292,7 +292,7 @@
293293
294294
295295 function pr_preparePage( $out, $m, $isEdit ) {
296 - global $wgTitle, $wgJsMimeType, $wgScriptPath, $wgRequest, $wgProofreadPageVersion;
 296+ global $wgJsMimeType, $wgScriptPath, $wgRequest, $wgProofreadPageVersion;
297297
298298 $imageTitle = Title::makeTitleSafe( NS_IMAGE, $m[1] );
299299 if ( !$imageTitle ) {
Index: trunk/extensions/CSS/CSS.php
@@ -39,7 +39,7 @@
4040 }
4141
4242 function magicCss(&$parser, $css) {
43 - global $wgOut, $wgRequest, $wgTitle;
 43+ global $wgOut, $wgRequest;
4444 $parser->mOutput->mCacheTime = -1;
4545 $url = false;
4646 if (ereg('\\{', $css)) {
Index: trunk/extensions/CentralNotice/SpecialCentralNotice.php
@@ -351,7 +351,7 @@
352352 */
353353
354354 function listNotices() {
355 - global $wgOut, $wgRequest, $wgTitle, $wgScript, $wgUser;
 355+ global $wgOut, $wgRequest, $wgScript, $wgUser;
356356 global $wgNoticeProject, $wgUserLang;
357357
358358 // Get connection
Index: trunk/extensions/CentralNotice/SpecialNoticeTemplate.php
@@ -114,7 +114,7 @@
115115 }
116116
117117 function showList() {
118 - global $wgOut, $wgTitle, $wgUser, $wgRequest;
 118+ global $wgOut, $wgUser, $wgRequest;
119119
120120 $sk = $wgUser->getSkin();
121121
@@ -207,7 +207,7 @@
208208 }
209209
210210 function showAdd() {
211 - global $wgOut, $wgTitle, $wgUser;
 211+ global $wgOut, $wgUser;
212212
213213 // Build HTML
214214 $htmlOut = Xml::openElement( 'form', array( 'method' => 'post' ) );
Index: trunk/extensions/Crosswiki/Block/CrosswikiBlock.page.php
@@ -23,7 +23,7 @@
2424 * @param mixed $par Parameter passed to the page
2525 */
2626 public function execute( $par ) {
27 - global $wgOut, $wgUser, $wgTitle, $wgRequest, $wgContLang, $wgLang;
 27+ global $wgOut, $wgUser, $wgRequest, $wgContLang, $wgLang;
2828 global $wgVersion, $wgMaxNameChars, $wgCapitalLinks;
2929
3030 # Add messages
@@ -256,7 +256,7 @@
257257 * @param mixed $par Parameter passed to the page
258258 */
259259 public function execute( $par ) {
260 - global $wgOut, $wgUser, $wgTitle, $wgRequest, $wgContLang, $wgLang;
 260+ global $wgOut, $wgUser, $wgRequest, $wgContLang, $wgLang;
261261 global $wgVersion, $wgMaxNameChars, $wgCapitalLinks;
262262
263263 # Add messages
Index: trunk/extensions/wikiwyg/share/MediaWiki/extensions/MediaWikiWyg.php
@@ -50,7 +50,7 @@
5151
5252 function registerWikiwygExtension() {
5353 global $wgOut, $wgSkin, $jsdir, $cssdir, $wgScriptPath;
54 - global $wgWikiwygPath, $wgUser, $wgTitle;
 54+ global $wgWikiwygPath, $wgUser;
5555 global $wgServer, $wgWikiwygJsPath, $wgWikiwygCssPath, $wgWikiwygImagePath;
5656 global $wgRequest, $wgWysiwygEnabled;
5757 global $wgLang, $wgContLang, $wgEnableAjaxLogin;
@@ -252,7 +252,7 @@
253253 }
254254
255255 function execute( $par ) {
256 - global $wgRequest, $wgOut, $wgTitle, $wgUser;
 256+ global $wgRequest, $wgOut, $wgUser;
257257
258258 /* if (!in_array( 'ezparser', $wgUser->getRights() ) ) {
259259 $wgOut->setArticleRelated( false );
@@ -277,7 +277,7 @@
278278
279279 function parseText($text, $title){
280280 #still need to make it actually parse the input.
281 - global $wgOut, $wgUser, $wgTitle, $wgParser, $wgAllowDiffPreview, $wgEnableDiffPreviewPreference;
 281+ global $wgOut, $wgUser, $wgParser, $wgAllowDiffPreview, $wgEnableDiffPreviewPreference;
282282 $parserOptions = ParserOptions::newFromUser( $wgUser );
283283 $parserOptions->setEditSection( false );
284284 $rtitle = Title::newFromText($title);
@@ -312,7 +312,7 @@
313313 }
314314
315315 function execute( $par ) {
316 - global $wgRequest, $wgOut, $wgTitle, $wgUser;
 316+ global $wgRequest, $wgOut, $wgUser;
317317
318318 $this->setHeaders();
319319
Index: trunk/extensions/wikiwyg/share/MediaWiki/extensions/EZParser.php
@@ -21,7 +21,7 @@
2222 }
2323
2424 function execute( $par ) {
25 - global $wgRequest, $wgOut, $wgTitle, $wgUser;
 25+ global $wgRequest, $wgOut, $wgUser;
2626
2727 if (!in_array( 'ezparser', $wgUser->getRights() ) ) {
2828 $wgOut->setArticleRelated( false );
Index: trunk/extensions/SpecialForm/SpecialForm.body.php
@@ -86,7 +86,7 @@
8787 }
8888
8989 function showForm($form, $errmsg = NULL) {
90 - global $wgOut, $wgRequest, $wgParser, $wgTitle, $wgUser, $wgSpecialFormRecaptcha;
 90+ global $wgOut, $wgRequest, $wgParser, $wgUser, $wgSpecialFormRecaptcha;
9191
9292 $self = SpecialPage::getTitleFor(wfMsgForContent('form') . '/' . $form->name);
9393
Index: trunk/extensions/EmergencyDeSysop/SpecialEmergencyDeSysop.php
@@ -135,7 +135,7 @@
136136 * @brief function executed when the special page is opened.
137137 */
138138 function execute( $subpage ) {
139 - global $wgRequest, $wgOut, $wgUser, $wgTitle;
 139+ global $wgRequest, $wgOut, $wgUser;
140140 $this->setHeaders();
141141
142142 //if the user is blocked, deny access.
Index: trunk/extensions/geoserver/geoserver.php
@@ -36,7 +36,7 @@
3737 * Return markup, but also a pointer to Map sources
3838 */
3939 function parseGeo ( $text, $params, &$parser ) {
40 - global $wgTitle, $action, $GeoserverParameters, $wgWikiMapsJS;
 40+ global $action, $GeoserverParameters, $wgWikiMapsJS;
4141 $latpat= '(-?[0-9.]*) *(([0-9.]+) *([0-9.]+)?)? *([NS])';
4242 $lonpat= '(-?[0-9.]*) *(([0-9.]+) *([0-9.]+)?)? *([EW])';
4343 $featcodepat = '(([AHLPRSTUV])\.([A-Z.]*))?';
Index: trunk/extensions/MetavidWiki/includes/MV_MetavidInterface/MV_EditPageAjax.php
@@ -98,7 +98,7 @@
9999 }
100100 /* copy of edit() from edit page (to override empty page)*/
101101 function edit( $textbox1_override = null ) {
102 - global $wgOut, $wgUser, $wgRequest, $wgTitle;
 102+ global $wgOut, $wgUser, $wgRequest;
103103
104104 $fname = 'MV_EditPage::edit';
105105 wfProfileIn( $fname );
Index: trunk/extensions/MetavidWiki/includes/MV_GlobalFunctions.php
@@ -344,7 +344,7 @@
345345 * enables linkback and autocomplete for search
346346 */
347347 function mvfAutoAllPageHeader() {
348 - global $mvgScriptPath, $wgJsMimeType, $wgOut, $mvExtraHeader, $wgTitle, $mvgJSDebug, $wgEnableScriptLoader, $wgRequest;;
 348+ global $mvgScriptPath, $wgJsMimeType, $wgOut, $mvExtraHeader, $mvgJSDebug, $wgEnableScriptLoader, $wgRequest;;
349349 $mvgScriptPath = htmlspecialchars( $mvgScriptPath );
350350 $wgJsMimeType = htmlspecialchars( $wgJsMimeType ) ;
351351 //set the unquie request value
Index: trunk/extensions/MetavidWiki/includes/MV_EditStreamPage.php
@@ -37,7 +37,7 @@
3838 }
3939 /*put thrown together quickly... could clean up/simplify*/
4040 function displayEditStreamFiles() {
41 - global $wgOut, $wgTitle, $wgScriptPath, $wgRequest, $wgUser;
 41+ global $wgOut, $wgScriptPath, $wgRequest, $wgUser;
4242 $html = '';
4343
4444 $streamFiles = $this->mArticle->mvTitle->mvStream->getFileList();
Index: trunk/extensions/MetavidWiki/includes/specials/MV_SpecialCRUDStream.php
@@ -25,7 +25,7 @@
2626
2727 }
2828 function execute() {
29 - global $wgRequest, $wgOut, $wgUser, $mvStream_name, $mvgIP, $wgTitle;
 29+ global $wgRequest, $wgOut, $wgUser, $mvStream_name, $mvgIP;
3030 # init html output var:
3131 $html = '';
3232
Index: trunk/extensions/MetavidWiki/includes/articlepages/MV_DataPage.php
@@ -17,7 +17,7 @@
1818 parent::__construct( $title );
1919 }
2020 public function view() {
21 - global $wgRequest, $wgUser, $wgOut, $wgTitle, $wgJsMimeType, $mvgScriptPath;
 21+ global $wgRequest, $wgUser, $wgOut, $wgJsMimeType, $mvgScriptPath;
2222
2323 // copied from CategoryPage ...
2424 $diff = $wgRequest->getVal( 'diff' );
@@ -87,7 +87,7 @@
8888 * @returns MV dataPage top html
8989 */
9090 function mvArticleTop() {
91 - global $mvgIP, $wgTitle, $wgUser;
 91+ global $mvgIP, $wgUser;
9292 $sk = $wgUser->getSkin();
9393
9494 $streamTitle = Title::makeTitle( MV_NS_STREAM, $this->mvTitle->getStreamNameText() );
Index: trunk/extensions/MetavidWiki/includes/articlepages/MV_StreamPage.php
@@ -45,7 +45,7 @@
4646 return new MV_StreamPage( $article->mTitle, $mvTitle );
4747 }
4848 public function view() {
49 - global $wgRequest, $wgUser, $wgOut, $wgTitle, $wgJsMimeType, $mvgScriptPath;
 49+ global $wgRequest, $wgUser, $wgOut, $wgJsMimeType, $mvgScriptPath;
5050 // @@TODO fix stream view() for old versions ... will likely have to replicate Article::view()
5151
5252 // include the metavid headers (for embedding video in the page)
Index: trunk/extensions/experimental/SpecialData.php
@@ -62,7 +62,7 @@
6363 function wfDataView ( $dt ) # $dt = data type
6464 {
6565 if ( $dt == '' ) return ;
66 - global $wgParser, $wgTitle;
 66+ global $wgParser;
6767 global $wgOut , $wgUser ;
6868 $nsdata = 20 ;
6969 $s = "<h2>{$dt}</h2>" ;
Index: trunk/extensions/PlayerStatsGrabber/PlayerStatsGrabber_body.php
@@ -45,7 +45,7 @@
4646 }
4747 }
4848 function do_stats_page() {
49 - global $wgOut, $wgRequest, $wgTitle;
 49+ global $wgOut, $wgRequest;
5050 $wgOut->addWikiText( wfMsg( 'ps_stats_welcome_link' ) );
5151 }
5252 function do_survey_forum() {
Index: trunk/extensions/Farmer/SpecialFarmer.php
@@ -105,7 +105,7 @@
106106 * Displays form to create wiki
107107 */
108108 protected function _executeCreate( $wgFarmer, $wiki ){
109 - global $wgOut, $wgUser, $wgTitle, $wgRequest;
 109+ global $wgOut, $wgUser, $wgRequest;
110110
111111 $confirmaccount = wfMsg( 'farmer-button-confirm' );
112112

Status & tagging log