[Mediawiki-l] Making image uploading simpler
brion at pobox.com
Tue Feb 14 10:09:38 UTC 2006
Thompson, Graeme (AELE) wrote:
> This would make the current system a lot easier to use as you would be
> able to easily place your images as you were writing the article.
> Any thoughts?
Well, depending on what you mean, either you can't do that with HTML or you can
already do that in MediaWiki.
1) Put in [[Image:My cool file.jpg]]
2) Save the page
3) Click the red link which takes you to the upload page with that name prefilled
4) Click the browse button to select the file on your local disk
5) Click the upload button.
You can't put in the local path and have it automate the upload, that just
doesn't work; you can't preset the path in an HTML file upload element for
obvious security reasons. (Hint: the obvious security reason is that you could
then cause the browser to silently upload any file from the user's computer to
your server when they visit a page you control, if you know the pathname to the
file you want.)
-- brion vibber (brion @ pobox.com)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 249 bytes
Desc: OpenPGP digital signature
Url : http://lists.wikimedia.org/pipermail/mediawiki-l/attachments/20060214/03124c83/attachment.pgp
More information about the MediaWiki-l