From: Alexandre Emsenhuber Date: Sat, 7 Mar 2009 17:37:29 +0000 (+0000) Subject: Per anomie's report on IRC: $wgMaxArticleSize is in kilobytes, not bytes X-Git-Tag: 1.31.0-rc.0~42577 X-Git-Url: http://git.cyclocoop.org/data/%24self?a=commitdiff_plain;h=9dd9379eb4a2fddce0dabe83f0dfcf5678d039f5;p=lhc%2Fweb%2Fwiklou.git Per anomie's report on IRC: $wgMaxArticleSize is in kilobytes, not bytes --- diff --git a/includes/api/ApiBase.php b/includes/api/ApiBase.php index 4ab5f251c8..67f9f698d5 100644 --- a/includes/api/ApiBase.php +++ b/includes/api/ApiBase.php @@ -808,7 +808,7 @@ abstract class ApiBase { 'noimageredirect-logged' => array('code' => 'noimageredirect', 'info' => "You don't have permission to create image redirects"), 'spamdetected' => array('code' => 'spamdetected', 'info' => "Your edit was refused because it contained a spam fragment: ``\$1''"), 'filtered' => array('code' => 'filtered', 'info' => "The filter callback function refused your edit"), - 'contenttoobig' => array('code' => 'contenttoobig', 'info' => "The content you supplied exceeds the article size limit of \$1 bytes"), + 'contenttoobig' => array('code' => 'contenttoobig', 'info' => "The content you supplied exceeds the article size limit of \$1 kilobytes"), 'noedit-anon' => array('code' => 'noedit-anon', 'info' => "Anonymous users can't edit pages"), 'noedit' => array('code' => 'noedit', 'info' => "You don't have permission to edit pages"), 'wasdeleted' => array('code' => 'pagedeleted', 'info' => "The page has been deleted since you fetched its timestamp"),