Permalink
Browse files

Add Hold status

Adding hold status to statuses the bot will parse based on rough consensus at DRN talk page[1]

[1] https://en.wikipedia.org/w/index.php?title=Wikipedia_talk:Dispute_resolution_noticeboard&oldid=676670146
  • Loading branch information...
hasteur committed Aug 18, 2015
1 parent 8319dea commit 22908a967dc1757ebb99ffe946ec267ce6565c78
Showing with 2 additions and 0 deletions.
  1. +2 −0 drn_clerk_bot.py
View
@@ -16,6 +16,7 @@ class DRNClerkBot:
STATUS_RESOLVED = 6
STATUS_CLOSED = 7
STATUS_FAILED = 8
STATUS_HOLD = 9
ALIASES = {
STATUS_NEW: ("",),
STATUS_OPEN: ("open", "active", "inprogress"),
@@ -24,6 +25,7 @@ class DRNClerkBot:
STATUS_RESOLVED: ("resolved", "resolve"),
STATUS_CLOSED: ("closed", "close"),
STATUS_FAILED: ("failed", "fail"),
STATUS_HOLD: ("hold"),
}
def __init__(self):
self.site = pywikibot.getSite()

0 comments on commit 22908a9

Please sign in to comment.