From 6345e8aea553235147145f011a88df86ea50dd21 Mon Sep 17 00:00:00 2001 From: m4tx Date: Mon, 1 Dec 2014 20:23:43 +0100 Subject: [PATCH] Fix group separator in installer's sidebar Uses explode() to split the sections and puts correct separators between them. Bug: T39362 Change-Id: I9a287b6ac206debb9bd93dbfad0703a8fad0931f --- includes/installer/WebInstallerOutput.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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 '
'; + } ?> -