P.s.: not that I wouldn't mind something like a general robot interface, in fact, I voulenteer to (help) write one (if thats something the people with CVS access would be willing to accept that is).
This would be a huge help to me, since I have very little experience with PHP. I'm thinking some kind of webservices-like API that follows REST principles (ie not SOAP!)
I can already do most things on the client, but a few things are needed to allow alternative interfaces to fly:
- action=getedittoken - returns just an edit token
- Special:Random&action=raw gives the raw content of a random page
- Special:Export?title=RecentChanges gives an XML list of recent changes
None of these things need any major architectural changes.
Jim
Rather than having some quick hack made just for you it would probably be better to consider well how to make a standard interface for something like this, something like action=robot which would return something in an easy-to-parse format, is there a bug open for this already where something like this could be brainstormed?
In the meantime, as I understand it what you need *now* is to just implement this on your own wiki, would it not be an option to just modify the code you use to not require the token?