On Sat, Sep 20, 2008 at 6:50 PM, Rich Morin <rdm(a)cfcl.com> wrote:
> I need to load up a few hundred MW pages with text and images.
> Looking at http://en.wikipedia.org/w/api.php, I find several
> tools for getting information about images, but nothing for
> uploading them:
> * prop=images (im) *
> * prop=imageinfo (ii) *
> * list=allimages (ai) *
> * list=imageusage (iu) *
> Am I missing something?
> More generally, are there any tools other than pywikipediabot
> and the MW API that I should look into?
> http://www.cfcl.com/rdm Rich Morin
> http://www.cfcl.com/rdm/resume rdm(a)cfcl.com
> http://www.cfcl.com/rdm/weblog +1 650-873-7841
> Technical editing and writing, programming, and web development
> Mediawiki-api mailing list
Uploading is something that I am still working on. I have made some
necessary changes to the backend to make a suitable API module, but it
still needs some work on the regular frontend. I want to have that
fixed first before I continue on the API module. Unfortunately I
currently don't really have time for it.
I could help as follows: I need to do a query to the database of mediawiki
pagelinks exactly to the table and show results in a wiki page as a menu.
Thanks for your help
I´m using the action=edit and the response I get from the server seems ok
when it returns a code error, like:
- if the query doesn´t identify the user (code: cantcreate-anon)
- if it is trying to create a page that already exists and the createonly
parameter is set (code: articleexists)
But when the request seems to be all right I get an Internal Server Error
(Http code 500). The parameters I send are the following: