Apply $wgMaxArticleSize more exactly
authorBrad Jorsch <bjorsch@wikimedia.org>
Mon, 27 Jun 2016 15:34:28 +0000 (11:34 -0400)
committerBrad Jorsch <bjorsch@wikimedia.org>
Mon, 27 Jun 2016 15:45:13 +0000 (11:45 -0400)
$wgMaxArticleSize is defined as "maximum article size in kilobytes",
however the way it was being used in WikiImporter and EditPage was
actually allowing 1023 bytes more than the limit. Other code using the
variable was limiting it to the specified value.

Change-Id: I85e4d2146643c5ac65f27cf464a51b28d68440b0


No differences found