Index: trunk/phase3/includes/OutputPage.php |
— | — | @@ -25,11 +25,11 @@ |
26 | 26 | // <meta keyworkds="stuff"> most of the time the first 10 links to an article |
27 | 27 | var $mKeywords = array(); |
28 | 28 | |
29 | | - var $mLinktags = array(); |
| 29 | + var $mLinktags = array(); |
30 | 30 | |
31 | 31 | // additional stylesheets. Looks like this is for extensions. Might be replaced by ressource loader. |
32 | 32 | var $mExtStyles = array(); |
33 | | - |
| 33 | + |
34 | 34 | // should be private. We got set/get accessors. Set the HTML title |
35 | 35 | var $mPagetitle = ''; |
36 | 36 | |
— | — | @@ -69,7 +69,7 @@ |
70 | 70 | // mLastModified and mEtag are used for sending cache control. |
71 | 71 | // The whole caching system should probably be moved in its own class. |
72 | 72 | var $mLastModified = ''; |
73 | | - |
| 73 | + |
74 | 74 | /* |
75 | 75 | * Should be private. No getter but used in sendCacheControl(); |
76 | 76 | * Contains an HTTP Entity Tags (see RFC 2616 section 3.13) which is used |
— | — | @@ -112,7 +112,7 @@ |
113 | 113 | // Next variables probably comes from the ressource loader @todo FIXME |
114 | 114 | var $mModules = array(), $mModuleScripts = array(), $mModuleStyles = array(), $mModuleMessages = array(); |
115 | 115 | var $mResourceLoader; |
116 | | - |
| 116 | + |
117 | 117 | /** @fixme is this still used ?*/ |
118 | 118 | var $mInlineMsg = array(); |
119 | 119 | |
— | — | @@ -1524,7 +1524,7 @@ |
1525 | 1525 | continue; |
1526 | 1526 | } else { |
1527 | 1527 | $aloption[] = 'string-contains=' . $variant; |
1528 | | - |
| 1528 | + |
1529 | 1529 | // IE and some other browsers use another form of language code |
1530 | 1530 | // in their Accept-Language header, like "zh-CN" or "zh-TW". |
1531 | 1531 | // We should handle these too. |
— | — | @@ -2385,17 +2385,17 @@ |
2386 | 2386 | if ( $wgRequest->getBool( 'handheld' ) ) { |
2387 | 2387 | $query['handheld'] = 1; |
2388 | 2388 | } |
2389 | | - |
| 2389 | + |
2390 | 2390 | if ( !count( $modules ) ) { |
2391 | 2391 | return ''; |
2392 | 2392 | } |
2393 | | - |
| 2393 | + |
2394 | 2394 | if ( count( $modules ) > 1 ) { |
2395 | 2395 | // Remove duplicate module requests |
2396 | 2396 | $modules = array_unique( (array) $modules ); |
2397 | 2397 | // Sort module names so requests are more uniform |
2398 | 2398 | sort( $modules ); |
2399 | | - |
| 2399 | + |
2400 | 2400 | if ( ResourceLoader::inDebugMode() ) { |
2401 | 2401 | // Recursively call us for every item |
2402 | 2402 | $links = ''; |
— | — | @@ -2405,7 +2405,7 @@ |
2406 | 2406 | return $links; |
2407 | 2407 | } |
2408 | 2408 | } |
2409 | | - |
| 2409 | + |
2410 | 2410 | // Create keyed-by-group list of module objects from modules list |
2411 | 2411 | $groups = array(); |
2412 | 2412 | $resourceLoader = $this->getResourceLoader(); |
— | — | @@ -2535,7 +2535,7 @@ |
2536 | 2536 | if ( !$userOptionsAdded ) { |
2537 | 2537 | $scripts .= $this->makeResourceLoaderLink( $sk, 'user.options', 'scripts' ); |
2538 | 2538 | } |
2539 | | - |
| 2539 | + |
2540 | 2540 | return $scripts; |
2541 | 2541 | } |
2542 | 2542 | |