[Ilugc] [GLV] January 22, 2005 Shell scripting session I
- From: kums@xxxxxxx (Kumaraguru)
- Date: Mon Jan 24 23:34:57 2005
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
On Mon, 24 Jan 2005 13:55:47 +0500, rhariram@xxxxxxxx
<rhariram@xxxxxxxx> wrote:
Looks like there are constraints to uploading.
Seems to accept only file with image file extensions.
So, I *cheated* by adding a ".jpg" extension
and uploaded my file.
Can't this constraint be removed ?
Then do NOT use wiki for uploading files other than Images. Ask
bharathi to upload the file to chennailug and link to that file in
wiki.
--
Sridhar Ratna - http://srid.bsdnerds.org
Other related posts:
- » [Ilugc] [GLV] January 22, 2005 Shell scripting session I- Shakthi Kannan
- » [Ilugc] [GLV] January 22, 2005 Shell scripting session I- Srinivasan R
- » [Ilugc] [GLV] January 22, 2005 Shell scripting session I- Bharathi S
- » [Ilugc] [GLV] January 22, 2005 Shell scripting session I- rhariram@xxxxxxxx
- » [Ilugc] [GLV] January 22, 2005 Shell scripting session I- Sridhar Ratna
- » [Ilugc] [GLV] January 22, 2005 Shell scripting session I- Shakthi Kannan
- » [Ilugc] [GLV] January 22, 2005 Shell scripting session I- rhariram@xxxxxxxx
- » [Ilugc] [GLV] January 22, 2005 Shell scripting session I- Srinivasan R
- » [Ilugc] [GLV] January 22, 2005 Shell scripting session I- Sridhar Ratna
- » [Ilugc] [GLV] January 22, 2005 Shell scripting session I - Kumaraguru
- » [Ilugc] [GLV] January 22, 2005 Shell scripting session I- T.R.Shashwath
- » [Ilugc] [GLV] January 22, 2005 Shell scripting session I- Sridhar Ratna
- » [Ilugc] [GLV] January 22, 2005 Shell scripting session I- Kumaraguru
- » [Ilugc] [GLV] January 22, 2005 Shell scripting session I- Raman.P
- » [Ilugc] [GLV] January 22, 2005 Shell scripting session I- rhariram@xxxxxxxx
- » [Ilugc] [GLV] January 22, 2005 Shell scripting session I- Srinivasan R
- » [Ilugc] [GLV] January 22, 2005 Shell scripting session I- Srinivasan R