From 281c378ee733e78c3d4a6a15aec74692d52f2fcb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Niklas=20Laxstr=C3=B6m?= Date: Mon, 25 May 2009 13:49:01 +0000 Subject: [PATCH] Work around parser madness, because I have no idea what is going on. The following renders each line as a paragraph:
a b c/div> --- includes/OutputPage.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/OutputPage.php b/includes/OutputPage.php index f8ae310011..8af1dbc5f1 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -1272,7 +1272,7 @@ class OutputPage { $text = wfMsgNoTrans( 'permissionserrorstext', count($errors)). "\n\n"; } else { global $wgLang; - $action_desc = wfMsg( "action-$action" ); + $action_desc = wfMsgNoTrans( "action-$action" ); $text = wfMsgNoTrans( 'permissionserrorstext-withaction', count($errors), $action_desc ) . "\n\n"; } @@ -1287,7 +1287,7 @@ class OutputPage { } $text .= ''; } else { - $text .= '
' . call_user_func_array( 'wfMsgNoTrans', reset( $errors ) ) . '
'; + $text .= "
\n" . call_user_func_array( 'wfMsgNoTrans', reset( $errors ) ) . "\n
"; } return $text; -- 2.20.1