r20757 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r20756‎ | r20757 | r20758 >
Date:22:14, 27 March 2007
Author:simetrical
Status:old
Tags:
Comment:
Improve documentation for $wgMaxUploadSize
Modified paths:
  • /trunk/phase3/includes/DefaultSettings.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/DefaultSettings.php
@@ -372,7 +372,11 @@
373373 $wgCacheSharedUploads = true;
374374 /** Allow for upload to be copied from an URL. Requires Special:Upload?source=web */
375375 $wgAllowCopyUploads = false;
376 -/** Max size for uploads, in bytes */
 376+/**
 377+ * Max size for uploads, in bytes. Currently only works for uploads from URL
 378+ * via CURL (see $wgAllowCopyUploads). The only way to impose limits on
 379+ * normal uploads is currently to edit php.ini.
 380+ */
377381 $wgMaxUploadSize = 1024*1024*100; # 100MB
378382
379383 /**