[Pywikipedia-bugs] [Maniphest] [Commented On] T187635: Log entry (rights) has no 'rights' key

2018-02-17 Thread JJMC89
JJMC89 added a comment. This is apparently due to a rights log event's content being hidden (revision deletion).TASK DETAILhttps://phabricator.wikimedia.org/T187635EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: JJMC89Cc: Aklapper, pywikibot-bugs-list,

[Pywikipedia-bugs] [Maniphest] [Commented On] T187635: Log entry (rights) has no 'rights' key

2018-02-17 Thread JJMC89
JJMC89 added a comment. Some investigation Pywikibot example querynext(iter(pywikibot.Site().logevents(logtype='rights', total=1))).data Pywikibot example response data{ 'type':'rights', 'ns':2, 'action':'rights', 'pageid':0, 'user':'Cameron11598', 'comment':'For edit filter