Marcus Ramsden schreef: > Hi Roan, > > I have put the edit token through the php urlencode function which converts > the token to the following format, 771ceb39a33469b2a87873ef26b75b82%2B%5C. > Looks good. Of course the built-in urlencode() function is the way to go, hadn't thought about that when I wrote my first message. > This has stopped the invalid token error being sent. That probably means it's correct. > But now there is > another issue. > Rather than the response being the standard response the API is responding > only with a 1. As opposed to the appropriate PHP data structure. That's very weird. Please do the following things: * check whether the edit got through; * try using a different format like XML or JSON and see whether they return the right data; * tell me which wiki you're running this bot against (if it's not Wikipedia or another WMF wiki, also include the version you see in Special:Version)
Roan Kattouw (Catrope) _______________________________________________ Mediawiki-api mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
