Per anomie's report on IRC: $wgMaxArticleSize is in kilobytes, not bytes
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 7 Mar 2009 17:37:29 +0000 (17:37 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 7 Mar 2009 17:37:29 +0000 (17:37 +0000)
includes/api/ApiBase.php

index 4ab5f25..67f9f69 100644 (file)
@@ -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"),