mirror of
https://gitlab.wikimedia.org/ladsgroup/Phabricator-maintenance-bot
synced 2024-11-27 22:42:39 +01:00
Merge branch 'incubator' into 'master'
new_wikis_handler: Add creating ticket for incubator import See merge request ladsgroup/Phabricator-maintenance-bot!3
This commit is contained in:
commit
1b0ea98418
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