Index: trunk/extensions/Call/Call_body.php |
— | — | @@ -36,7 +36,6 @@ |
37 | 37 | |
38 | 38 | |
39 | 39 | function execute( $par ) { |
40 | | - global $wgParser; |
41 | 40 | global $wgOut, $wgRequest, $wgRawHtml, $wgUser; |
42 | 41 | $oldRawHtml = $wgRawHtml; |
43 | 42 | $wgRawHtml = false; // disable raw html if it's enabled as this could be XSS security risk |
Index: trunk/extensions/InlineEditor/InlineEditor.class.php |
— | — | @@ -204,7 +204,7 @@ |
205 | 205 | * @param $output OutputPage |
206 | 206 | */ |
207 | 207 | public function render( &$output ) { |
208 | | - global $wgParser, $wgHooks, $wgRequest, $wgExtensionAssetsPath, $wgDisableOutputCompression; |
| 208 | + global $wgHooks, $wgRequest, $wgExtensionAssetsPath, $wgDisableOutputCompression; |
209 | 209 | |
210 | 210 | // if the page is being saved, retrieve the wikitext from the JSON |
211 | 211 | if ( $wgRequest->wasPosted() ) { |
Index: trunk/extensions/PageNotice/PageNotice.php |
— | — | @@ -33,7 +33,7 @@ |
34 | 34 | |
35 | 35 | |
36 | 36 | function wfPageNoticeHook( &$out, &$text ) { |
37 | | - global $wgTitle, $wgParser; |
| 37 | + global $wgTitle; |
38 | 38 | $name = $wgTitle->getPrefixedDBKey(); |
39 | 39 | $ns = $wgTitle->getNamespace(); |
40 | 40 | |
Index: trunk/extensions/AjaxTest/AjaxTest.php |
— | — | @@ -32,7 +32,7 @@ |
33 | 33 | 'author' => 'Daniel Kinzler', |
34 | 34 | 'descriptionmsg' => 'ajaxtest-desc', |
35 | 35 | ); |
36 | | -$wgExtensionFunctions[] = 'efAjaxTestSetup'; |
| 36 | + |
37 | 37 | $wgSpecialPages['AjaxTest'] = 'AjaxTestPage'; |
38 | 38 | |
39 | 39 | $dir = dirname( __FILE__ ) . '/'; |
— | — | @@ -46,13 +46,6 @@ |
47 | 47 | $wgAjaxExportList[] = 'efAjaxTest'; |
48 | 48 | |
49 | 49 | /** |
50 | | - * Hook it up |
51 | | - */ |
52 | | -function efAjaxTestSetup() { |
53 | | - global $wgParser, $wgCategoryTreeAllowTag; |
54 | | -} |
55 | | - |
56 | | -/** |
57 | 50 | * Entry point for Ajax, registered in $wgAjaxExportList. |
58 | 51 | * This loads CategoryTreeFunctions.php and calls CategoryTree::ajax() |
59 | 52 | */ |
Index: trunk/extensions/EmailPage/EmailPage_body.php |
— | — | @@ -25,7 +25,7 @@ |
26 | 26 | * Override SpecialPage::execute($param = '') |
27 | 27 | */ |
28 | 28 | function execute( $param ) { |
29 | | - global $wgOut, $wgUser, $wgRequest, $wgParser, $wgEmailPageContactsCat, $wgGroupPermissions, $wgSitename, |
| 29 | + global $wgOut, $wgUser, $wgRequest, $wgEmailPageContactsCat, $wgGroupPermissions, $wgSitename, |
30 | 30 | $wgRecordAdminCategory, $wgEmailPageCss, $wgEmailPageAllowAllUsers, $wgEmergencyContact; |
31 | 31 | |
32 | 32 | $db = wfGetDB( DB_SLAVE ); |
Index: trunk/extensions/Form/Form.body.php |
— | — | @@ -89,7 +89,7 @@ |
90 | 90 | } |
91 | 91 | |
92 | 92 | function showForm( $form, $errmsg = null ) { |
93 | | - global $wgOut, $wgRequest, $wgParser, $wgUser, $wgSpecialFormRecaptcha; |
| 93 | + global $wgOut, $wgRequest, $wgUser, $wgSpecialFormRecaptcha; |
94 | 94 | |
95 | 95 | $self = $this->getTitle( $form->name ); |
96 | 96 | |
— | — | @@ -505,4 +505,4 @@ |
506 | 506 | return ''; |
507 | 507 | } |
508 | 508 | } |
509 | | -} |
\ No newline at end of file |
| 509 | +} |
Index: trunk/extensions/I18nTags/I18nTags.php |
— | — | @@ -27,7 +27,6 @@ |
28 | 28 | $wgHooks['ParserFirstCallInit'][] = 'efI18nTagsInit'; |
29 | 29 | |
30 | 30 | function efI18nTagsInit( &$parser ) { |
31 | | - global $wgParser; |
32 | 31 | $class = 'I18nTags'; |
33 | 32 | $parser->setHook( 'formatnum', array($class, 'formatNumber') ); |
34 | 33 | $parser->setHook( 'grammar', array($class, 'grammar') ); |
Index: trunk/extensions/ConfirmAccount/ConfirmAccount_body.php |
— | — | @@ -770,7 +770,6 @@ |
771 | 771 | * @return string $linkList, list of clickable links |
772 | 772 | */ |
773 | 773 | public static function parseLinks( $text ) { |
774 | | - global $wgParser, $wgUser; |
775 | 774 | # Don't let this get flooded |
776 | 775 | $max = 10; |
777 | 776 | $count = 0; |