Work around parser madness, because I have no idea what is going on. The following...
authorNiklas Laxström <nikerabbit@users.mediawiki.org>
Mon, 25 May 2009 13:49:01 +0000 (13:49 +0000)
committerNiklas Laxström <nikerabbit@users.mediawiki.org>
Mon, 25 May 2009 13:49:01 +0000 (13:49 +0000)
<div>a
b
c/div>

includes/OutputPage.php

index f8ae310..8af1dbc 100644 (file)
@@ -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 .= '</ul>';
                } else {
-                       $text .= '<div class="permissions-errors">' . call_user_func_array( 'wfMsgNoTrans', reset( $errors ) ) . '</div>';
+                       $text .= "<div class=\"permissions-errors\">\n" . call_user_func_array( 'wfMsgNoTrans', reset( $errors ) ) . "\n</div>";
                }
 
                return $text;