Index: trunk/phase3/includes/SkinTemplate.php |
— | — | @@ -139,7 +139,7 @@ |
140 | 140 | global $wgDisableCounters, $wgSitename, $wgLogo, $wgHideInterlanguageLinks; |
141 | 141 | global $wgMaxCredits, $wgShowCreditsIfMax; |
142 | 142 | global $wgPageShowWatchingUsers; |
143 | | - global $wgUseSiteJs, $wgDebugComments; |
| 143 | + global $wgDebugComments; |
144 | 144 | global $wgArticlePath, $wgScriptPath, $wgServer; |
145 | 145 | |
146 | 146 | wfProfileIn( __METHOD__ ); |
— | — | @@ -201,15 +201,7 @@ |
202 | 202 | $tpl->setRef( 'userjs', $this->userjs ); |
203 | 203 | $tpl->setRef( 'userjsprev', $this->userjsprev ); |
204 | 204 | |
205 | | - if( $wgUseSiteJs ) { |
206 | | - $jsCache = $this->loggedin ? '&smaxage=0' : ''; |
207 | | - $tpl->set( 'jsvarurl', |
208 | | - self::makeUrl( '-', |
209 | | - "action=raw$jsCache&gen=js&useskin=" . |
210 | | - urlencode( $this->getSkinName() ) ) ); |
211 | | - } else { |
212 | | - $tpl->set( 'jsvarurl', false ); |
213 | | - } |
| 205 | + $tpl->set( 'jsvarurl', false ); |
214 | 206 | |
215 | 207 | $tpl->setRef( 'xhtmldefaultnamespace', $wgXhtmlDefaultNamespace ); |
216 | 208 | $tpl->set( 'xhtmlnamespaces', $wgXhtmlNamespaces ); |