Is there a facility to upload arbitrary attachments.
I know I can use the Image upload feature, but I would like to be able to upload any type of document, and have a simple syntax that I can use to reference that document.
Not sure if there is something there or if I need to build it in myself.
-- Thanks, Chris McIntosh
Hi Chris, you can use this notation: [[Media:filename.pdf|This is a file]]
in your LocalSettings.php file add something like this: $wgFileExtensions = array( 'png', 'jpg', 'jpeg', 'ogg','doc','xls','ppt','mp3','sxc','pdf' );
and look here: http://meta.wikimedia.org/wiki/Upload
On Fri, 29 Jul 2005 13:05:19 -0700, Chris McIntosh wrote
Is there a facility to upload arbitrary attachments.
I know I can use the Image upload feature, but I would like to be able to upload any type of document, and have a simple syntax that I can use to reference that document.
Not sure if there is something there or if I need to build it in myself.
-- Thanks, Chris McIntosh _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
-- E-Mail by http://www.jesus.ch/ and http://www.livenet.ch/ News, Magazin, Events, Forum, Chat, Free E-Mail, Dialin, Jobs, Top-Newsletter
Greetings,
I know I can use the Image upload feature, but I would like to be able to upload any type of document, and have a simple syntax that I can use to reference that document.
WHat I did was edit the allowed file types to let it accept more than just pics.
If you do not get a better answer in the next day or two I can tell you exactly how I did it. i am going to have to look at my notes to remember the specifics. I thing it was something like $wgUploadExt but I dont remember exactly. WHen I get the chance I will look for you.
mediawiki-l@lists.wikimedia.org