[Ilugc] [GLV] January 22, 2005 Shell scripting session I

  • From: trshash84@xxxxxxxxx (T.R.Shashwath)
  • Date: Tue Jan 25 06:27:09 2005

On Monday 24 Jan 2005 6:04 pm, Kumaraguru wrote:

Hi Sridhar,

I agree allowing non-image uploads will lead to abuse
but .bz2 or .gz should be exemptions.

For MediaWiki, you need to edit the includes/DefaultSettings.php
and add bz2, gz to $wgFileExtensions so that it becomes
something like..

$wgFileExtensions = array( 'png', 'gif', 'jpg', 'bz2', 'gz' );


Regards
Kumaraguru


Though I'm not exactly a Redhat fan, maybe .rpm and .deb also?

-- 
To know a thing well, know its limits. 
Only when pushed beyond its tolerances will true nature be seen.
--The Amtal Rule - Dune

Other related posts: