r32488 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r32487‎ | r32488 | r32489 >
Date:01:35, 27 March 2008
Author:tstarling
Status:old
Tags:
Comment:
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.
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/DefaultSettings.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/DefaultSettings.php
@@ -1682,8 +1682,8 @@
16831683 */
16841684 $wgStrictFileExtensions = true;
16851685
1686 -/** Warn if uploaded files are larger than this (in bytes)*/
1687 -$wgUploadSizeWarning = 150 * 1024;
 1686+/** Warn if uploaded files are larger than this (in bytes), or false to disable*/
 1687+$wgUploadSizeWarning = false;
16881688
16891689 /** For compatibility with old installations set to false */
16901690 $wgPasswordSalt = true;
Index: trunk/phase3/RELEASE-NOTES
@@ -23,6 +23,7 @@
2424 * New option $wgFeed can be set false to turn off syndication feeds
2525 * (bug 5745) Special:Whatlinkshere now shows up to $wgMaxRedirectLinksRetrieved
2626 links through each redirect instead of hardcoded 500
 27+* Set $wgUploadSizeWarning to false by default
2728
2829 === New features in 1.13 ===
2930

Status & tagging log