mirror of
https://gitlab.wikimedia.org/ladsgroup/Phabricator-maintenance-bot
synced 2024-11-21 19:42:38 +01:00
new_wikis_handler: Add creating ticket for incubator import
This commit is contained in:
parent
d3947054a7
commit
652751a2a4
1 changed files with 5 additions and 0 deletions
|
@ -63,6 +63,7 @@ class PostCreationHandler(object):
|
|||
self._handle_pywikibot,
|
||||
self._handle_wikidata,
|
||||
self._handle_wikistats,
|
||||
self._handle_incubator,
|
||||
]
|
||||
self.handlers_needed = {}
|
||||
|
||||
|
@ -201,6 +202,10 @@ class PostCreationHandler(object):
|
|||
'PHID-PROJ-6sht6g4xpdii4c4bga2i' # VPS-project-Wikistats
|
||||
], self.post_ticket_phid, 'Add %s to wikistats' % self.db_name)
|
||||
|
||||
def _handle_incubator(self):
|
||||
client.createSubtask("Please import `%s` from incubator, once it is created. Thanks!" % self.db_name, [
|
||||
'PHID-PROJ-ihns5jmm4kco7sqknqjl' # incubator.wikimedia.org
|
||||
], self.post_ticket_phid, 'Import %s from incubator' % self.db_name)
|
||||
|
||||
def add_text(a):
|
||||
global final_text
|
||||
|
|
Loading…
Reference in a new issue