From 0ac7404d38480980f72d0c4eaa29caa56c31ccc9 Mon Sep 17 00:00:00 2001 From: Fomafix Date: Mon, 29 Oct 2018 07:18:50 +0100 Subject: [PATCH 1/1] installer: Use getUrl() for CSS link in WebInstallerOutput This change changes the CSS URL in the stylesheet link from to on the website /mediawiki/mw-config/. Change-Id: Ib46c4d944df862cf928d3ebd050ff2d1e16ba6a5 --- includes/installer/WebInstallerOutput.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/installer/WebInstallerOutput.php b/includes/installer/WebInstallerOutput.php index 6c1f2ec2b7..950aaf7827 100644 --- a/includes/installer/WebInstallerOutput.php +++ b/includes/installer/WebInstallerOutput.php @@ -197,7 +197,7 @@ class WebInstallerOutput { * @return string */ private function getCssUrl() { - return Html::linkedStyle( $_SERVER['PHP_SELF'] . '?css=1' ); + return Html::linkedStyle( $this->parent->getUrl( [ 'css' => 1 ] ) ); } public function useShortHeader( $use = true ) { -- 2.20.1