Hi there,
I just started using the MediaWiki API today. I'm writting a script to insert about 500 new articles into the Wiki. I'm using PHP5, MedaWiki 1.13.3.
I've decided to use CURL to communicate with the APIs on my local machine. So far I can login, receive my lgtoken and request an edit token - which is all good. What I'm noticing however is when I use the examples on the site to send an action=edit I get this returned back:
Array ( [error] => Array ( [code] => help [info] => [*] =>
Plus the entire manual after it. What's even more strange is when I read the the manual more closely I don't see any references to action=edit being available. I have however found the same manual on other sites which list it accordingly. I'm completely baffled. Apparently 1.13.3 *does* have support for API editing.
I've attached a copy of the script I'm using as well just in case.
Thanks in advance,
Dave