Index: trunk/extensions/ImageMap/ImageMap_body.php |
— | — | @@ -27,7 +27,7 @@ |
28 | 28 | const NONE = 4; |
29 | 29 | |
30 | 30 | static function render( $input, $params, $parser ) { |
31 | | - global $wgScriptPath, $wgUser, $wgUrlProtocols, $wgNoFollowLinks; |
| 31 | + global $wgScriptPath, $wgUrlProtocols, $wgNoFollowLinks; |
32 | 32 | wfLoadExtensionMessages( 'ImageMap' ); |
33 | 33 | |
34 | 34 | $lines = explode( "\n", $input ); |
Index: trunk/extensions/Collection/Collection.hooks.php |
— | — | @@ -79,7 +79,6 @@ |
80 | 80 | global $wgCollectionArticleNamespaces; |
81 | 81 | global $wgCollectionFormats; |
82 | 82 | global $wgCollectionPortletFormats; |
83 | | - global $wgScriptPath; |
84 | 83 | |
85 | 84 | if ( is_null( $wgTitle ) || !$wgTitle->exists() ) { |
86 | 85 | return; |
— | — | @@ -237,17 +236,13 @@ |
238 | 237 | |
239 | 238 | static function renderBookCreatorBox( $mode = '' ) { |
240 | 239 | global $wgArticle; |
241 | | - global $wgCollectionArticleNamespaces; |
242 | 240 | global $wgCollectionStyleVersion; |
243 | | - global $wgCollectionVersion; |
244 | 241 | global $wgJsMimeType; |
245 | 242 | global $wgOut; |
246 | 243 | global $wgScriptPath; |
247 | 244 | global $wgTitle; |
248 | 245 | global $wgUser; |
249 | 246 | |
250 | | - $namespace = $wgTitle->getNamespace(); |
251 | | - |
252 | 247 | wfLoadExtensionMessages( 'CollectionCore' ); |
253 | 248 | |
254 | 249 | $sk = $wgUser->getSkin(); |
— | — | @@ -403,10 +398,7 @@ |
404 | 399 | } |
405 | 400 | |
406 | 401 | static function getBookCreatorBoxAddRemoveLink( $sk, $imagePath, $ajaxHint, $oldid ) { |
407 | | - global $wgArticle; |
408 | | - global $wgJsMimeType; |
409 | | - global $wgTitle; |
410 | | - global $wgScriptPath; |
| 402 | + global $wgArticle, $wgTitle; |
411 | 403 | |
412 | 404 | $namespace = $wgTitle->getNamespace(); |
413 | 405 | $ptext = $wgTitle->getPrefixedText(); |
Index: trunk/extensions/Collection/Collection.body.php |
— | — | @@ -43,7 +43,6 @@ |
44 | 44 | global $wgRequest; |
45 | 45 | global $wgUser; |
46 | 46 | global $wgContLang; |
47 | | - global $wgCommunityCollectionNamespace; |
48 | 47 | global $wgCollectionMaxArticles; |
49 | 48 | global $wgTitle; |
50 | 49 | |
— | — | @@ -663,7 +662,6 @@ |
664 | 663 | } |
665 | 664 | |
666 | 665 | static function addCategory( $title ) { |
667 | | - global $wgOut; |
668 | 666 | global $wgCollectionMaxArticles; |
669 | 667 | global $wgCollectionArticleNamespaces; |
670 | 668 | |
— | — | @@ -685,7 +683,7 @@ |
686 | 684 | 'cl_to' => $title->getDBkey(), |
687 | 685 | ); |
688 | 686 | $res = $db->select( $tables, $fields, $where, __METHOD__, $options ); |
689 | | - $members = array(); |
| 687 | + |
690 | 688 | $count = 0; |
691 | 689 | $limitExceeded = false; |
692 | 690 | while ( $row = $db->fetchObject( $res ) ) { |
Index: trunk/extensions/GlobalUsage/GlobalUsageQuery.php |
— | — | @@ -9,7 +9,6 @@ |
10 | 10 | private $hasMore = false; |
11 | 11 | private $filterLocal = false; |
12 | 12 | private $result; |
13 | | - private $continue; |
14 | 13 | private $reversed = false; |
15 | 14 | |
16 | 15 | /** |
Index: trunk/extensions/SpamBlacklist/SpamBlacklist_body.php |
— | — | @@ -190,7 +190,7 @@ |
191 | 191 | * @return Matched text if the edit should not be allowed, false otherwise |
192 | 192 | */ |
193 | 193 | function filter( &$title, $text, $section, $editsummary = '', EditPage &$editPage = null ) { |
194 | | - global $wgVersion, $wgOut, $wgParser, $wgUser; |
| 194 | + global $wgParser, $wgUser; |
195 | 195 | |
196 | 196 | $fname = 'wfSpamBlacklistFilter'; |
197 | 197 | wfProfileIn( $fname ); |
Index: trunk/extensions/CategoryTree/CategoryPageSubclass.php |
— | — | @@ -31,7 +31,7 @@ |
32 | 32 | * Add a subcategory to the internal lists |
33 | 33 | */ |
34 | 34 | function addSubcategoryObject( $cat, $sortkey, $pageLength ) { |
35 | | - global $wgContLang, $wgOut, $wgRequest; |
| 35 | + global $wgRequest; |
36 | 36 | |
37 | 37 | $title = $cat->getTitle(); |
38 | 38 | |
Index: trunk/extensions/CategoryTree/CategoryTreePage.php |
— | — | @@ -23,7 +23,6 @@ |
24 | 24 | * Constructor |
25 | 25 | */ |
26 | 26 | function __construct() { |
27 | | - global $wgOut; |
28 | 27 | SpecialPage::SpecialPage( 'CategoryTree', '', true ); |
29 | 28 | wfLoadExtensionMessages( 'CategoryTree' ); |
30 | 29 | } |
Index: trunk/extensions/CategoryTree/CategoryTree.php |
— | — | @@ -362,7 +362,7 @@ |
363 | 363 | * OutputPageMakeCategoryLinks hook, override category links |
364 | 364 | */ |
365 | 365 | function efCategoryTreeOutputPageMakeCategoryLinks( $out, &$categories, &$links ) { |
366 | | - global $wgContLang, $wgCategoryTreePageCategoryOptions; |
| 366 | + global $wgCategoryTreePageCategoryOptions; |
367 | 367 | |
368 | 368 | $ct = new CategoryTree( $wgCategoryTreePageCategoryOptions ); |
369 | 369 | |
Index: trunk/extensions/CategoryTree/CategoryTreeFunctions.php |
— | — | @@ -792,8 +792,6 @@ |
793 | 793 | * Creates a Title object from a user provided (and thus unsafe) string |
794 | 794 | */ |
795 | 795 | static function makeTitle( $title ) { |
796 | | - global $wgContLang, $wgCanonicalNamespaceNames; |
797 | | - |
798 | 796 | $title = trim( $title ); |
799 | 797 | |
800 | 798 | if ( $title === null || $title === '' || $title === false ) { |