marion.leclerc@orange-ftgroup.com schreef:
Then I try to retrieve the token of one page using query action with following parameters: <WIKIURL>/api.php?action=query&titles=<PageName>&prop=info&intoken=edit&lgtoken=<LoginToken>&lgusername=<MyLogin>&lguserid=<LoginUserId>
You used the lg* parameters to stay logged in, which isn't possible any more due to security concerns. The docs hadn't been updated yet, I did so upon seeing your e-mail. The correct way to stay logged in is to fetch the cookies from the action=login request and pass them back to all subsequent requests. An example of how to do this in PHP using Snoopy is linked to from the External links section of the login documentation [1].
Roan Kattouw (Catrope)