From 802330eb758873cc6675dd5ecfacc4397aab2e25 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Fri, 7 May 2010 13:28:29 +0000 Subject: [PATCH] Fix jQuery support since we now version it --- includes/installer/WebInstallerOutput.php | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/includes/installer/WebInstallerOutput.php b/includes/installer/WebInstallerOutput.php index 1b88a745e9..9d0c6b1289 100644 --- a/includes/installer/WebInstallerOutput.php +++ b/includes/installer/WebInstallerOutput.php @@ -112,7 +112,7 @@ class WebInstallerOutput { // --> - + outputJQuery(); ?> @@ -168,6 +168,7 @@ class WebInstallerOutput { } function outputShortHeader() { + ?> @@ -177,7 +178,7 @@ class WebInstallerOutput { <?php $this->outputTitle(); ?> - + outputJQuery(); ?> @@ -190,6 +191,12 @@ class WebInstallerOutput { echo htmlspecialchars( wfMsg( 'config-title', $wgVersion ) ); } + function outputJQuery() { + global $wgJQueryVersion; + echo ''; + } + function outputWarnings() { $this->addHTML( $this->warnings ); $this->warnings = ''; -- 2.20.1