From: Nick Jenkins Date: Wed, 31 Jan 2007 03:31:10 +0000 (+0000) Subject: Add $wgStyleVersion string to URL for two Ajax JavaScript source files, so that refre... X-Git-Tag: 1.31.0-rc.0~54164 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=commitdiff_plain;h=6810c86db2ee0cb0eaf7625ee770f53e9dee48a8;p=lhc%2Fweb%2Fwiklou.git Add $wgStyleVersion string to URL for two Ajax JavaScript source files, so that refresh of them can be forced if/when they are updated. --- diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 31c7236000..e72e570d26 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -553,12 +553,12 @@ class OutputPage { wfRunHooks( 'AjaxAddScript', array( &$this ) ); if( $wgAjaxSearch ) { - $this->addScript( "\n" ); + $this->addScript( "\n" ); $this->addScript( "\n" ); } if( $wgAjaxWatch && $wgUser->isLoggedIn() ) { - $this->addScript( "\n" ); + $this->addScript( "\n" ); } }