Happy5214 has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/359366 )
Change subject: [WIP] Add log entry code for thanks log
......................................................................
[WIP] Add log entry code for thanks log
Change-Id: Idb656b3920338d21e9a0d269c59d30597740a058
---
M pywikibot/logentries.py
1 file changed, 9 insertions(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core
refs/changes/66/359366/1
diff --git a/pywikibot/logentries.py b/pywikibot/logentries.py
index 310d826..cafa122 100644
--- a/pywikibot/logentries.py
+++ b/pywikibot/logentries.py
@@ -360,6 +360,13 @@
_expectedType = 'newusers'
+
+class ThanksEntry(LogEntry):
+
+ """Thanks log entry."""
+
+ _expectedType = 'thanks'
+
# TODO entries for
merge,suppress,makebot,gblblock,renameuser,globalauth,gblrights ?
@@ -380,7 +387,8 @@
'move': MoveEntry,
'import': ImportEntry,
'patrol': PatrolEntry,
- 'newusers': NewUsersEntry
+ 'newusers': NewUsersEntry,
+ 'thanks': ThanksEntry
}
def __init__(self, site, logtype=None):
--
To view, visit https://gerrit.wikimedia.org/r/359366
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Idb656b3920338d21e9a0d269c59d30597740a058
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Happy5214 <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits