From f9756f58b7a97679a8a42bc126f983155c4c5d03 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Thu, 27 Mar 2008 01:35:09 +0000 Subject: [PATCH] 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. --- RELEASE-NOTES | 1 + includes/DefaultSettings.php | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) 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; -- 2.20.1