On Jul 10, 2008, at 6:53 AM, Jools Smyth wrote:
Thanks for the
link Siebrand. It looks like 1.13 will have
significant
improvements to the API. I noticed an entry for deleting images but
didn't see any entries relating to image upload. Are there plans to
add image upload soon or is that a little lower on the list?
You could always use a script which uses the api but also has
support for
uploading such as mine (low level api access for perl)
http://search.cpan.org/~exobuzz/MediaWiki-API-0.08/
If you wanted to do it in another language, just look at the very
simple
upload function noting that you need to be logged in on wikipedia to
upload (which can be done with the api).
Thanks for the link Jools. I noticed that you mention that error
checking is limited MediaWiki::API->upload. Is this because you are
having to parse the HTML returned for error messages?
I think I'm going to wait for an official API. It isn't mandatory that
we support MediaWiki in our application, it would just be nice for
some of our customers.
Regards,
Trevor DeVore