Add a line to to LocalSettings.php. $wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'ogg', 'pdf' );
Quoting Plamen Gradinarov plamen@orientalia.org:
How to allow members uploading PDF?
Plamen _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
On Wed, 2005-01-12 at 14:11 +0000, selva@thescian.com wrote:
Add a line to to LocalSettings.php. $wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'ogg', 'pdf' );
Quoting Plamen Gradinarov plamen@orientalia.org:
How to allow members uploading PDF?
Is there a way to completely remove this enumeration of what you can upload? I am in an environment where people need to upload waaaay too many different kind of files to be able to enumerate them all.
Im looking for a regex thing or a '*' wildcard. Possible?
thanks,
Perron, Francis wrote:
Is there a way to completely remove this enumeration of what you can upload? I am in an environment where people need to upload waaaay too many different kind of files to be able to enumerate them all.
Im looking for a regex thing or a '*' wildcard. Possible?
# This is a flag to determine whether or not to check file extensions on # upload. $wgCheckFileExtensions = true;
# If this is turned off, users may override the warning for files not # covered by $wgFileExtensions. $wgStrictFileExtensions = true;
Note that you should only do this in a trusted environment.
-- brion vibber (brion @ pobox.com)
mediawiki-l@lists.wikimedia.org