Installer: Fix double escaping of config-download-localsettings.
authorTimo Tijhof <krinklemail@gmail.com>
Thu, 31 Jan 2013 01:19:25 +0000 (17:19 -0800)
committerTimo Tijhof <ttijhof@wikimedia.org>
Thu, 31 Jan 2013 01:20:53 +0000 (17:20 -0800)
The link was outputted as:
 "Download &lt;code&gt;LocalSettings.php&lt;/code&gt;"
rendered as:
 "Download <code>LocalSettings.php</code>"
screenshot:
 http://cl.ly/image/1y2O3y2S2B19

Change-Id: I55a677b2a0f83dc6627d712584b8faa00e413b8b
Follows-up: Iaa2c89d6
Bug: 44526

includes/installer/WebInstaller.php

index b27f773..8cee4b2 100644 (file)
@@ -1079,7 +1079,7 @@ class WebInstaller extends Installer {
                ) );
                $anchor = Html::rawElement( 'a',
                        array( 'href' => $this->getURL( array( 'localsettings' => 1 ) ) ),
-                       $img . ' ' . wfMessage( 'config-download-localsettings' )->escaped() );
+                       $img . ' ' . wfMessage( 'config-download-localsettings' )->parse() );
                return Html::rawElement( 'div', array( 'class' => 'config-download-link' ), $anchor );
        }