Index: trunk/phase3/includes/Article.php |
— | — | @@ -1322,7 +1322,7 @@ |
1323 | 1323 | $summary = wfMsgForContent('autosumm-blank'); |
1324 | 1324 | } elseif (strlen($oldtext) > 10 * strlen($text) && strlen($text) < 500) { #Removing more than 90% of the article |
1325 | 1325 | global $wgContLang; |
1326 | | - $truncatedtext = $wgContLang->truncate($text, max(0, 200 - strlen(wfMsg('autosumm-replace'))), '...'); |
| 1326 | + $truncatedtext = $wgContLang->truncate($text, max(0, 200 - strlen(wfMsgForContent('autosumm-replace'))), '...'); |
1327 | 1327 | $summary = wfMsgForContent('autosumm-replace', $truncatedtext); |
1328 | 1328 | } |
1329 | 1329 | } |