From: Tim Starling Date: Thu, 27 Mar 2008 01:35:09 +0000 (+0000) Subject: Set $wgUploadSizeWarning to false by default. The warning only makes sense in the... X-Git-Tag: 1.31.0-rc.0~48787 X-Git-Url: http://git.cyclocoop.org/%22.%24match%5B1%5D.%22?a=commitdiff_plain;h=f9756f58b7a97679a8a42bc126f983155c4c5d03;p=lhc%2Fweb%2Fwiklou.git Set $wgUploadSizeWarning to false by default. The warning only makes sense in the context of pre-upload downscaling to limit download sizes for the benefit of readers on dialup connections, a reason which has been obsolete since the introduction of server-side scaling. --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index ba245a17c1..e5c6b8f6ff 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -23,6 +23,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * New option $wgFeed can be set false to turn off syndication feeds * (bug 5745) Special:Whatlinkshere now shows up to $wgMaxRedirectLinksRetrieved links through each redirect instead of hardcoded 500 +* Set $wgUploadSizeWarning to false by default === New features in 1.13 === diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index ce22374d6e..5a2d37a5f9 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -1682,8 +1682,8 @@ $wgCheckFileExtensions = true; */ $wgStrictFileExtensions = true; -/** Warn if uploaded files are larger than this (in bytes)*/ -$wgUploadSizeWarning = 150 * 1024; +/** Warn if uploaded files are larger than this (in bytes), or false to disable*/ +$wgUploadSizeWarning = false; /** For compatibility with old installations set to false */ $wgPasswordSalt = true;