No particular reason to limit this beyond the general server settings.
Seems to have been in there since the first version of the form, but dang if I know why I put it there. :)
it, all applicable reasons are now shown.
* (bug 11428) Allow $wgScript inside $wgArticlePath when emulating PATH_INFO
Fixes 'root'-style rewrite configurations
+* (bug 12493) Removed hardcoded MAX_FILE_SIZE from Special:Import upload form
== Parser changes in 1.12 ==
<form enctype='multipart/form-data' method='post' action=\"$action\">
<input type='hidden' name='action' value='submit' />
<input type='hidden' name='source' value='upload' />
- <input type='hidden' name='MAX_FILE_SIZE' value='2097152' />
<input type='file' name='xmlimport' value='' size='30' />
<input type='submit' value=\"" . wfMsgHtml( "uploadbtn" ) . "\" />
</form>