https://bugzilla.wikimedia.org/show_bug.cgi?id=17941
Summary: $wgMaxUploadSize doesn't work. Product: Wikimedia Version: unspecified Platform: All OS/Version: All Status: NEW Keywords: easy Severity: minor Priority: Normal Component: General/Unknown AssignedTo: wikibugs-l@lists.wikimedia.org ReportedBy: robindi...@googlemail.com The $wgMaxUploadSize setting only seems to be active if $wgAllowCopyUploads is enabled. wgMaxUploadSize should work anyway because e.g. sometimes webservers can't handle big pictures, so it must be possible to set the maximum upload size down. My suggestion is to replace /includes/specials/SpecialUpload.php line 1047: $val2 = $wgAllowCopyUploads ? min( $wgMaxUploadSize, $val2 ) : $val2; with $val2 = min( $wgMaxUploadSize, $val2 ); . I hope I am helpful. :-) -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l