XZise created this task.
XZise added a subscriber: XZise.
XZise added a project: pywikibot-core.
Restricted Application added subscribers: Aklapper, pywikipedia-bugs.
TASK DESCRIPTION
I'm not sure if this is a bug or a feature request but there are two different ways to get the rollback token: Since the introduction of query+tokens, it's possible via there and this is already implemented. But before that the token was associated with the revision and `APISite.get_tokens` does not handle that and instead errors that the `rollback` token is not a valid token name.
But unlike the patrol token (T85727) it seems that the rollback token is not always the same, even different between two revisions of the same page. So it seems like that `site.tokens['rollback']` is impossible on older wikis and instead the library/scripts should use the revisions' rollbacktoken which itself then could request the token via `site.tokens['rollback']` on newer wikis.
TASK DETAIL
https://phabricator.wikimedia.org/T91060
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: XZise
Cc: pywikipedia-bugs, Aklapper, XZise, jayvdb
XZise added a subscriber: XZise.
XZise added a comment.
You probably mean “migrate to core”?
TASK DETAIL
https://phabricator.wikimedia.org/T57261
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Xqt, XZise
Cc: XZise, Xqt, Legoktm, jayvdb, Ricordisamoa, Anshoe, pywikipedia-bugs