1
0
Fork 0
mirror of https://gitlab.wikimedia.org/ladsgroup/Phabricator-maintenance-bot synced 2024-11-09 13:42:38 +01:00

new_wikis_handler: Include UpdateSearchIndexConfig in creation instructions

Bug: T254331
This commit is contained in:
Martin Urbanec 2020-09-23 00:11:05 +02:00
parent edd87fc1ff
commit 6cadc7147b

View file

@ -345,6 +345,10 @@ def add_create_instructions(parts, shard, language_code, db_name, task_tid):
family=parts[1],
db=db_name,
url='.'.join(parts)))
add_text('`{search_path} --wiki={dbname} --cluster=all`'.format(
search_path='mwscript extensions/CirrusSearch/Maintenance/UpdateSearchIndexConfig.php',
dbname=db_name,
))
summary = 'Creating {db_name} ({phab})'.format(
db_name=db_name, phab=task_tid)
add_text('On deploy1001:')