This might be a little off-topic, but if I remember correctly, the whole
file uploading is still geared towards images.
For starters, the default upload folder is called IMAGES (or something
like that; I can't access our wiki at the moment), and so are some
variables.
It's not a big issue, of course, but I still find it a little irritating
to upload documents to a folder called IMAGES...
(True, I could change those names, but I haven't touched that issue yet
because there might be dependencies I don't know about.)
-- Frederik
----- Original Message -----
From: Vinaya kumar
Date: 2006-12-06 09:55
Hi,
To upload both excel and jpeg files
Add xls to the line; "$wgFileExtensions = array( 'png', 'jpg',
'jpeg', 'ogg', 'doc', 'ppt', 'mp3',
'xls', 'pdf' );"
"#use external mime detector(Linux)
$wgMimeDetectorCommand= "file -mbi";
Comment $wgMimeDetectorCommand= NULL;
This is what i have used and i am able to upload any type of file listed in
$wgFileExtensions
Regards
Vinay
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l