From: m4tx Date: Mon, 1 Dec 2014 19:23:43 +0000 (+0100) Subject: Fix group separator in installer's sidebar X-Git-Tag: 1.31.0-rc.0~13129^2 X-Git-Url: http://git.cyclocoop.org//%27%40script%40/%27?a=commitdiff_plain;h=6345e8aea553235147145f011a88df86ea50dd21;p=lhc%2Fweb%2Fwiklou.git Fix group separator in installer's sidebar Uses explode() to split the sections and puts correct separators between them. Bug: T39362 Change-Id: I9a287b6ac206debb9bd93dbfad0703a8fad0931f --- diff --git a/includes/installer/WebInstallerOutput.php b/includes/installer/WebInstallerOutput.php index 22fb1df2f3..8ff3d2f9d8 100644 --- a/includes/installer/WebInstallerOutput.php +++ b/includes/installer/WebInstallerOutput.php @@ -296,11 +296,14 @@ class WebInstallerOutput { href="https://www.mediawiki.org/" title="Main Page"> -
parent->parse( wfMessage( 'config-sidebar' )->plain(), true ); + $message = wfMessage( 'config-sidebar' )->plain(); + foreach( explode( '----', $message ) as $section ) { + echo '
'; + echo $this->parent->parse( $section, true ); + echo '
'; + } ?> -