From 344ab2c641958945decd897fbedc0094bbd34858 Mon Sep 17 00:00:00 2001 From: MarcoAurelio <30000615+MarcoAurelioWM@users.noreply.github.com> Date: Thu, 2 Feb 2023 02:30:59 +0100 Subject: [PATCH] new_wikis_handler: Tag Countervandalism-Network instead of posting to Meta On advice of CVN staff, and given that they're now using Phabricator to track their work, make the bot tag the post-creation Task with the CVN project instead of telling people to go to Meta and post to their talk page. Tweaks re Stewards Noticeboard for Bot Policy activation. --- new_wikis_handler.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/new_wikis_handler.py b/new_wikis_handler.py index 60acc06..b9cc6ae 100644 --- a/new_wikis_handler.py +++ b/new_wikis_handler.py @@ -71,8 +71,8 @@ class PostCreationHandler(object): checker() self.add_text(' [] Import from Incubator') self.add_text(' [] Clean up old interwiki links') - self.add_text(' [] For content wikis (not private, fishbowl, special, etc.) [[ https://meta.wikimedia.org/wiki/Stewards%27_noticeboard | Ask the stewards ]] to add the wiki to the [[ https://meta.wikimedia.org/wiki/Bot_policy| Bot policy ]] wikiset') - self.add_text(' [] Inform the [[ https://meta.wikimedia.org/wiki/Talk:Countervandalism_Network | CVN ]] project for IRC monitoring') + self.add_text(' [] For content wikis: [[ https://meta.wikimedia.org/wiki/Stewards%27_noticeboard | ask the stewards ]] to add the wiki to the global bot policy wikiset') + self.add_text(' [] Add the wiki to a CVNBot for SWMT monitoring') self._create_ticket() for handler in self.handlers: @@ -90,6 +90,7 @@ class PostCreationHandler(object): [ 'PHID-PROJ-2fuv7mxzjnpjfuojdnfd', # wiki-setup 'PHID-PROJ-2b7oz62ylk3jk4aus262', # platform-engineering + 'PHID-PROJ-flkea3bsbxquupwv5g2s', # countervandalism-network ], self.main_pid, 'Post-creation work for {}'.format(self.db_name))['object']