* (bug 12493) Removed hardcoded MAX_FILE_SIZE from Special:Import upload form
authorBrion Vibber <brion@users.mediawiki.org>
Thu, 3 Jan 2008 20:54:42 +0000 (20:54 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Thu, 3 Jan 2008 20:54:42 +0000 (20:54 +0000)
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. :)

RELEASE-NOTES
includes/SpecialImport.php

index 93c9b4a..92e2557 100644 (file)
@@ -284,6 +284,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
   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 ==
index e7b88d5..df6ba6e 100644 (file)
@@ -95,7 +95,6 @@ function wfSpecialImport( $page = '' ) {
        <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>