From ee25a20f3ec31b305cb5f451c72a51ba4696039e Mon Sep 17 00:00:00 2001 From: Raimond Spekking Date: Thu, 16 Oct 2008 12:29:40 +0000 Subject: [PATCH] Add class="error" for "longpageerror" --- includes/EditPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/EditPage.php b/includes/EditPage.php index be4dee1b19..667e625ac9 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -1241,7 +1241,7 @@ class EditPage { $this->kblength = (int)(strlen( $this->textbox1 ) / 1024); } if ( $this->tooBig || $this->kblength > $wgMaxArticleSize ) { - $wgOut->addHTML( "
\n" ); + $wgOut->addHTML( "
\n" ); $wgOut->addWikiMsg( 'longpageerror', $wgLang->formatNum( $this->kblength ), $wgLang->formatNum( $wgMaxArticleSize ) ); $wgOut->addHTML( "
\n" ); } elseif ( $this->kblength > 29 ) { -- 2.20.1