https://bugzilla.wikimedia.org/show_bug.cgi?id=66273

--- Comment #8 from Helder <[email protected]> ---
The API seems to be working in the following situation: I went to
https://pt.wikipedia.org/wiki/Especial:ApiSandbox#action=rollback&format=json&title=Wikip%C3%A9dia%3AP%C3%A1gina%20de%20testes%2F3&user=189.102.95.123&token=9d7071d4bcef40af391ad968fcea9858%2B\&summary=API%20TEST&markbot=&watchlist=nochange
and filled the parameters
* title: Wikipédia:Página de testes/3
* user: 189.102.95.123
* token: 9d7071d4bcef40af391ad968fcea9858+\
* summary: API TEST
* markbot: [x]
* watchlist: nochange
and submitted to make this rollback:
https://pt.wikipedia.org/w/index.php?title=Wikip%C3%A9dia%3AP%C3%A1gina_de_testes%2F3&diff=39117211&oldid=39101463

The API response was
{
    "rollback": {
        "title": "Wikip\u00e9dia:P\u00e1gina de testes/3",
        "pageid": 3416004,
        "summary": "API TEST",
        "revid": 39117211,
        "old_revid": 39101463,
        "last_revid": 39097451
    }
}
and the page was not added to my watchlist.

The token I provided was obtained from
https://pt.wikipedia.org/w/api.php?action=query&prop=revisions&rvtoken=rollback&titles=Wikip%C3%A9dia:P%C3%A1gina%20de%20testes/3

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to