I couldn't find any reference on this topic in the Mediawiki Handbook nor the mailing list:
If I upload a non-image file (e.g. myDoc.pdf), does it end up in the images directory? And in my wiki page, do I use the same syntax [media:myDoc.pdf] to create a link to that file? -- John
On Dec 2, 2004, at 9:20 PM, John Yu wrote:
I couldn't find any reference on this topic in the Mediawiki Handbook nor the mailing list:
If I upload a non-image file (e.g. myDoc.pdf), does it end up in the images directory? And in my wiki page, do I use the same syntax [media:myDoc.pdf] to create a link to that file?
Yes, and yes. All uploads go in the same place. You need to add non-standard extensions to the file extension whitelist, or else disable the whitelist and accept the risk inherent in using only the blacklist.
-- brion vibber (brion @ pobox.com)
Yup, thanks. I read about the blacklist stuff in the Handbook. -- John
Brion Vibber wrote:
On Dec 2, 2004, at 9:20 PM, John Yu wrote:
I couldn't find any reference on this topic in the Mediawiki Handbook nor the mailing list:
If I upload a non-image file (e.g. myDoc.pdf), does it end up in the images directory? And in my wiki page, do I use the same syntax [media:myDoc.pdf] to create a link to that file?
Yes, and yes. All uploads go in the same place. You need to add non-standard extensions to the file extension whitelist, or else disable the whitelist and accept the risk inherent in using only the blacklist.
-- brion vibber (brion @ pobox.com)
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org