[Mediawiki-l] Howto "Include" files from local webserver directory?

Jamie Bliss astronouth7303 at gmail.com
Mon May 16 19:17:17 UTC 2005


You can also disable hashed uploads, then just upload it to that directory.

On 5/14/05, Matt England <mengland at mengland.net> wrote:
> Alternatively, is there a way I can make an external reference to a file
> URL on the same web server where my wiki resides?
> 
> eg, if my wiki is at
> 
> http://example.com/wiki/
> 
> and my big file is at:
> 
> http://example.com/files/big_file.iso
> 
> ...then how might a make a reference akin to:
> 
> <a href="/files/big_file.iso">big_file.iso</a>
> 
> in my wiki content such that if/when I port my server to a new
> domain/base-url reference that the references will still work?
> 
> -Matt
> 
> 
> At 5/14/2005 09:33 AM, Matt England wrote:
> >Hello,
> >
> >I have large (eg, greater then 10MB, sometimes hundreds of MB) files that
> >I wish to put under MediaWiki's "control" in the /images directory and
> >have them accessible via [[Media:]] and [[Image:]] links.
> >
> >However, rather then using the /wiki/Special:Upload mechanism, I'd much
> >rather upload using better upload mechanisms then just my web browser
> >(like sftp) because these other mechanisms have much better file-control
> >(eg, pause and resume), upload-status, and time-remaining-display
> >capabilities.  The pure-web-upload stuff has little if any display/control
> >for these things, and it's almost impossible to tell if the upload is working.
> >
> >To this end, I'd like to be able to sftp upload to a local directory on my
> >web server (which I can do), and then point MediaWiki at a "local" file on
> >my (web) server and quickly import the file into "MediaWiki" control that way.
> >
> >Is this possible?  How can I do this from a MediaWiki web page, or must I
> >go through some cmdline (on the server) interface (which is fine for now)?
> >
> >Thanks for any help,
> >-Matt
> >
> >_______________________________________________
> >MediaWiki-l mailing list
> >MediaWiki-l at Wikimedia.org
> >http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
> 
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at Wikimedia.org
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
> 


-- 
-------------------------------------------------------------------
http://endeavour.zapto.org/astro73/
Thank you to JosephM for inviting me to Gmail!
Have lots of invites. Gmail now has 2GB.



More information about the MediaWiki-l mailing list