Hello,
I want to use my MediaWiki site (which is SSL "firewalled") for software development purposes (and related things). Most of the time the uploaded files will not be "images" but rather just a "file".
I want these image/file references (a la [[Image:Some_uploaded_file.zip]] ) to not be processed as an "image." How can I do this? What markup do I use? Currently my reference above looks like a "sunken box" with the filename text inside of it on my page...as if the page is trying to process/display it as an image?
I wish there was a mode I can put MediaWiki such that it doesn't assume that all uploaded files are "images". Does anything exist? Maybe a separate namespace for File: separate from Image: ...and associated code handling...this way I can get the best of both worlds?
(I already went through and disabled most of all the upload-file-type prevention stuff in DefaultSettings.php in 1.4.0.)
-Matt
I should also say...
At 4/19/2005 02:19 PM, Matt England wrote:
I want these image/file references (a la [[Image:Some_uploaded_file.zip]] ) to not be processed as an "image." How can I do this? What markup do I use?
I want the reference to simply to point to the file title page like so:
http://example.com/wiki/Image:Some_uploaded_file.zip
...but I don't want to use the full URL, because I'll be changing my site domain-name/location soon...and for the usual modularity reasons.
If this is not done, then the web browser apparently attempts to download the file "on the spot"...and this is REALLY bad for large software files.
-Matt
On 4/19/05, Matt England mengland@mengland.net wrote:
http://example.com/wiki/Image:Some_uploaded_file.zip
...but I don't want to use the full URL, because I'll be changing my site domain-name/location soon...and for the usual modularity reasons.
If this is not done, then the web browser apparently attempts to download the file "on the spot"...and this is REALLY bad for large software files.
use [[media:Some_uploaded_file.zip]]
[[Media:*]]
On 4/19/05, Matt England mengland@mengland.net wrote:
I should also say...
At 4/19/2005 02:19 PM, Matt England wrote:
I want these image/file references (a la [[Image:Some_uploaded_file.zip]] ) to not be processed as an "image." How can I do this? What markup do I use?
I want the reference to simply to point to the file title page like so:
http://example.com/wiki/Image:Some_uploaded_file.zip
...but I don't want to use the full URL, because I'll be changing my site domain-name/location soon...and for the usual modularity reasons.
If this is not done, then the web browser apparently attempts to download the file "on the spot"...and this is REALLY bad for large software files.
-Matt
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
On 4/19/05, Matt England mengland@mengland.net wrote:
I want these image/file references (a la [[Image:Some_uploaded_file.zip]] ) to not be processed as an "image." How can I do this? What markup do I use? Currently my reference above looks like a "sunken box" with the filename text inside of it on my page...as if the page is trying to process/display it as an image?
You can use three kinds of link: * [[Image:Foo]] - attempts to display it inline * [[:Image:Foo]] - just links to the description page (note the extra ":") * [[Media:Foo]] - links directly to the uploaded file, not the description; the browser will then decide whether to display, open, or download that file.
See also http://bugzilla.wikimedia.org/show_bug.cgi?id=44
mediawiki-l@lists.wikimedia.org