A few issues with uploading and addressing files.
First of all, I can't find a sensible way of addressing an uploaded file as a URL. I seem to end up with bizarre urls, such as http://myserver/images/e/eb/IST.jpg
Where what I really want is something like http://myserver/uploads/IST.jpg http://myserver/mediawiki/uploads/IST.jpg
without the random URL.
This means I can reliably refer to such files from the template or from anywhere else, and then the versioning can look after serving up the latest version of the file, and people can manage it as per normal uploaded files.
Secondly, I'm confused as to why all uploaded files are treated as images, when for our purposes, things like pdfs and other documents uploaded by people would be really helpful, and as far as I can see, this functionality is identical, but somehow there is an inbuilt assumption that all files are images, in terms of the filter for file upload, but also in all of the referencing syntax.
Glad of any suggestions.
Cefn http://cefn.com
The funny URL is a hashed directory system; this is designed so that loads of files don't end up in one folder. You can turn this off from within the LocalSettings.php file
Regards, Arthur Guy
arthur@astarsolutions.co.uk a star solutions www.astarsolutions.co.uk
Audio & Video Leads Adapters and Accessories
-----Original Message----- From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of cefn.hoile@bt.com Sent: 22 September 2005 16:55 To: mediawiki-l@Wikimedia.org Subject: [Mediawiki-l] Uploaded files, URL addressing and file types
A few issues with uploading and addressing files.
First of all, I can't find a sensible way of addressing an uploaded file as a URL. I seem to end up with bizarre urls, such as http://myserver/images/e/eb/IST.jpg
Where what I really want is something like http://myserver/uploads/IST.jpg http://myserver/mediawiki/uploads/IST.jpg
without the random URL.
This means I can reliably refer to such files from the template or from anywhere else, and then the versioning can look after serving up the latest version of the file, and people can manage it as per normal uploaded files.
Secondly, I'm confused as to why all uploaded files are treated as images, when for our purposes, things like pdfs and other documents uploaded by people would be really helpful, and as far as I can see, this functionality is identical, but somehow there is an inbuilt assumption that all files are images, in terms of the filter for file upload, but also in all of the referencing syntax.
Glad of any suggestions.
Cefn http://cefn.com _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
'a star solutions' disclaimer The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If you are not the intended recipient of this message you are hereby notified that any use, review, retransmission, dissemination, distribution, reproduction or any action taken in reliance upon this message is prohibited. If you received this in error, please contact the sender and delete the material from any computer. Any views expressed in this message are those of the individual sender and may not necessarily reflect the views of the company. We believe that this communication is free from viruses and other potentially dangerous programmes, but the recipient opens this communication at their own risk. We assume no responsibility for any loss or damage arising from the receipt or use of this communication
mediawiki-l@lists.wikimedia.org