X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Finstaller%2FWebInstallerOutput.php;h=44ca7d3001ddf894da6a636dc10a110c4470a81a;hb=68aab7ca8bd2bf7271a2f69aff1e7a60ab88078b;hp=3094d5571bb372e5d9d0712cac68f43fbdb1d067;hpb=4dd56b2268520b03bf90e359258cd63778bab9f8;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/installer/WebInstallerOutput.php b/includes/installer/WebInstallerOutput.php index 3094d5571b..44ca7d3001 100644 --- a/includes/installer/WebInstallerOutput.php +++ b/includes/installer/WebInstallerOutput.php @@ -227,7 +227,7 @@ class WebInstallerOutput { public function getHeadAttribs() { return array( 'dir' => $this->getDir(), - 'lang' => $this->getLanguageCode(), + 'lang' => wfBCP47( $this->getLanguageCode() ), ); } @@ -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 '
'; + } ?> -