From 6810c86db2ee0cb0eaf7625ee770f53e9dee48a8 Mon Sep 17 00:00:00 2001 From: Nick Jenkins Date: Wed, 31 Jan 2007 03:31:10 +0000 Subject: [PATCH] Add $wgStyleVersion string to URL for two Ajax JavaScript source files, so that refresh of them can be forced if/when they are updated. --- includes/OutputPage.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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" ); } } -- 2.20.1