From: Kunal Mehta Date: Thu, 10 Aug 2017 17:05:00 +0000 (-0400) Subject: installer: Disable
wrapping of parsed content X-Git-Tag: 1.31.0-rc.0~2426^2 X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=e124721c4ce2e04e43464eccaba9e3e934960fb5 installer: Disable
wrapping of parsed content The mw-parser-output wrapper breaks the visual layout of the installer, causing the radio button or checkbox to be one line above the text that describes it. Change-Id: I0a7ec34d80d6372927fd89b7752bc08ab0395308 --- diff --git a/includes/installer/Installer.php b/includes/installer/Installer.php index 168d7edbe1..573a92d13c 100644 --- a/includes/installer/Installer.php +++ b/includes/installer/Installer.php @@ -446,6 +446,7 @@ abstract class Installer { $this->parserTitle = Title::newFromText( 'Installer' ); $this->parserOptions = new ParserOptions( $wgUser ); // language will be wrong :( $this->parserOptions->setEditSection( false ); + $this->parserOptions->setWrapOutputClass( false ); // Don't try to access DB before user language is initialised $this->setParserLanguage( Language::factory( 'en' ) ); }