From: Bartosz DziewoƄski Date: Mon, 11 Aug 2014 01:59:22 +0000 (+0200) Subject: Move installer files from skins/common/ to mw-config/ X-Git-Tag: 1.31.0-rc.0~14379^2 X-Git-Url: http://git.cyclocoop.org/%7B%7B%20url_for%28%27admin_vote_add%27%29%20%7D%7D?a=commitdiff_plain;h=a8e474c1f292667fada54613df637999478fb69b;p=lhc%2Fweb%2Fwiklou.git Move installer files from skins/common/ to mw-config/ The CSS and JS files are definitely used only by the installer. As for the images: * mediawiki.png is still used directly by some error pages (includes/PHPVersionError.php, includes/templates/NoLocalSettings.php) * ajax-loader.gif is still used by shared.css * bullet.gif is mysteriously used by *something*, according to the logs at bug 69277 comment 11; I currently have no idea what, so let's keep it here for a while * All other ones don't grep (outside of the installer itself) and don't appear in the logs on bug 69277. Bug: 69277 Change-Id: I9146d9211a807911a5e0cfaa1dd3ab8170f333ca --- diff --git a/includes/installer/WebInstaller.php b/includes/installer/WebInstaller.php index 68c2ebe36a..3a3e809cc6 100644 --- a/includes/installer/WebInstaller.php +++ b/includes/installer/WebInstaller.php @@ -667,7 +667,7 @@ class WebInstaller extends Installer { * Get HTML for an info box with an icon. * * @param string $text Wikitext, get this with wfMessage()->plain() - * @param string|bool $icon Icon name, file in skins/common/images. Default: false + * @param string|bool $icon Icon name, file in mw-config/images. Default: false * @param string|bool $class Additional class name to add to the wrapper div. Default: false. * * @return string @@ -675,8 +675,8 @@ class WebInstaller extends Installer { public function getInfoBox( $text, $icon = false, $class = false ) { $text = $this->parse( $text, true ); $icon = ( $icon == false ) ? - '../skins/common/images/info-32.png' : - '../skins/common/images/' . $icon; + 'images/info-32.png' : + 'images/' . $icon; $alt = wfMessage( 'config-information' )->text(); return Html::infoBox( $text, $icon, $alt, $class, false ); diff --git a/includes/installer/WebInstallerOutput.php b/includes/installer/WebInstallerOutput.php index 0ce20074f3..f797ef9a45 100644 --- a/includes/installer/WebInstallerOutput.php +++ b/includes/installer/WebInstallerOutput.php @@ -265,7 +265,7 @@ class WebInstallerOutput { <?php $this->outputTitle(); ?> getCssUrl() . "\n"; ?> getJQuery() . "\n"; ?> - + $this->getDir() ) ) . "\n"; ?> @@ -290,7 +290,7 @@ class WebInstallerOutput {
@@ -314,7 +314,7 @@ class WebInstallerOutput { <?php $this->outputTitle(); ?> getCssUrl() . "\n"; ?> getJQuery(); ?> - + diff --git a/includes/installer/WebInstallerPage.php b/includes/installer/WebInstallerPage.php index 9fdee766e6..2a9c54ce1f 100644 --- a/includes/installer/WebInstallerPage.php +++ b/includes/installer/WebInstallerPage.php @@ -187,7 +187,7 @@ abstract class WebInstallerPage { protected function startLiveBox() { $this->addHTML( '' . + '
' . '' . '
' . '