From f660c292885d6f2269345882091a39cd893552af Mon Sep 17 00:00:00 2001 From: X! Date: Sat, 27 Dec 2008 04:16:28 +0000 Subject: [PATCH] fix spacing --- includes/EditPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/EditPage.php b/includes/EditPage.php index 2300ffdbb8..1259eecae1 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -560,7 +560,7 @@ class EditPage { $this->textbox2 = $this->safeUnicodeInput( $request, 'wpTextbox2' ); $this->mMetaData = rtrim( $request->getText( 'metadata' ) ); # Truncate for whole multibyte characters. +5 bytes for ellipsis - $this->summary = $wgLang->truncate( $request->getText( 'wpSummary' ), 250 ); + $this->summary = $wgLang->truncate( $request->getText( 'wpSummary' ), 250 ); # Remove extra headings from summaries and new sections. $this->summary = preg_replace('/^\s*=+\s*(.*?)\s*=+\s*$/', '$1', $this->summary); -- 2.20.1