From 9dd9379eb4a2fddce0dabe83f0dfcf5678d039f5 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Sat, 7 Mar 2009 17:37:29 +0000 Subject: [PATCH] Per anomie's report on IRC: $wgMaxArticleSize is in kilobytes, not bytes --- includes/api/ApiBase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"), -- 2.20.1