From: Andrew Garrett Date: Wed, 15 Nov 2006 06:46:21 +0000 (+0000) Subject: wfMsg -> wfMsgForContent for code added in r17609 X-Git-Tag: 1.31.0-rc.0~55184 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=ad5f2716f658862cbaeb3d366571a431264c2471;p=lhc%2Fweb%2Fwiklou.git wfMsg -> wfMsgForContent for code added in r17609 --- 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); } }