jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/588956 )
Change subject: [bugfix] Add missing write actions to write actions tuple ......................................................................
[bugfix] Add missing write actions to write actions tuple
- Add missing write actions from https://www.mediawiki.org/wiki/API:Changing_wiki_content - sort the write actions tuple
Change-Id: Ibadd1456dc8b1525ea1f0465a837e7cfe4634bdc --- M pywikibot/data/api.py 1 file changed, 6 insertions(+), 5 deletions(-)
Approvals: Dvorapa: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/data/api.py b/pywikibot/data/api.py index 116d143..6e0214c 100644 --- a/pywikibot/data/api.py +++ b/pywikibot/data/api.py @@ -1221,11 +1221,12 @@ # things like throttling or skipping actions when we're in simulation # mode self.write = self.action in ( - 'block', 'createaccount', 'delete', 'edit', 'emailuser', - 'filerevert', 'flowthank', 'import', 'move', 'options', 'patrol', - 'protect', 'purge', 'revisiondelete', 'rollback', - 'setnotificationtimestamp', 'setpagelanguage', 'thank', 'unblock', - 'undelete', 'upload', 'userrights', 'watch', + 'block', 'clearhasmsg', 'createaccount', 'delete', 'edit', + 'emailuser', 'filerevert', 'flowthank', 'imagerotate', 'import', + 'managetags', 'mergehistory', 'move', 'options', 'patrol', + 'protect', 'purge', 'resetpassword', 'revisiondelete', 'rollback', + 'setnotificationtimestamp', 'setpagelanguage', 'tag', 'thank', + 'unblock', 'undelete', 'upload', 'userrights', 'watch', 'wbcreateclaim', 'wbcreateredirect', 'wbeditentity', 'wblinktitles', 'wbmergeitems', 'wbremoveclaims', 'wbremovequalifiers', 'wbremovereferences', 'wbsetaliases',
pywikibot-commits@lists.wikimedia.org