From ad5f2716f658862cbaeb3d366571a431264c2471 Mon Sep 17 00:00:00 2001 From: Andrew Garrett Date: Wed, 15 Nov 2006 06:46:21 +0000 Subject: [PATCH] wfMsg -> wfMsgForContent for code added in r17609 --- includes/Article.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Article.php b/includes/Article.php index 88fe3daf31..1b1022ad6b 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -1322,7 +1322,7 @@ class Article { $summary = wfMsgForContent('autosumm-blank'); } elseif (strlen($oldtext) > 10 * strlen($text) && strlen($text) < 500) { #Removing more than 90% of the article global $wgContLang; - $truncatedtext = $wgContLang->truncate($text, max(0, 200 - strlen(wfMsg('autosumm-replace'))), '...'); + $truncatedtext = $wgContLang->truncate($text, max(0, 200 - strlen(wfMsgForContent('autosumm-replace'))), '...'); $summary = wfMsgForContent('autosumm-replace', $truncatedtext); } } -- 2.20.1