r75383 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r75382‎ | r75383 | r75384 >
Date:21:37, 25 October 2010
Author:kaldari
Status:deferred
Tags:
Comment:
testing cache stuffs
Modified paths:
  • /trunk/extensions/CentralNotice/CentralNotice.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CentralNotice/CentralNotice.php
@@ -145,7 +145,7 @@
146146 global $wgUser, $wgOut, $wgCentralDBname, $wgScript;
147147
148148 // Include '.js' to exempt script from squid cache override
149 - $centralLoader = SpecialPage::getTitleFor( 'BannerController' )->getLocalUrl( 'cache=cn.js' );
 149+ $centralLoader = SpecialPage::getTitleFor( 'BannerController' )->getLocalUrl( 'cache=/cn.js' );
150150
151151 // Insert the banner controller Javascript into the <head>
152152 $wgOut->addScriptFile( $centralLoader );

Status & tagging log