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: Fix a typo

To avoid this:

[urbanecm@mwmaint2001 ~]$ mwscript extensions/CirrusSearch/Maintenance/UpdateSearchIndexConfig.php --wiki=arbcom_ruwiki --cluster=all
The MediaWiki script file "/srv/mediawiki/php-1.36.0-wmf.10/extensions/CirrusSearch/Maintenance/UpdateSearchIndexConfig.php" does not exist.

Lowercase "maintenance" seems to be the correct version.
This commit is contained in:
Martin Urbanec 2020-09-28 14:36:14 +02:00
parent 6cadc7147b
commit 501463b05c

View file

@ -346,7 +346,7 @@ def add_create_instructions(parts, shard, language_code, db_name, task_tid):
db=db_name, db=db_name,
url='.'.join(parts))) url='.'.join(parts)))
add_text('`{search_path} --wiki={dbname} --cluster=all`'.format( add_text('`{search_path} --wiki={dbname} --cluster=all`'.format(
search_path='mwscript extensions/CirrusSearch/Maintenance/UpdateSearchIndexConfig.php', search_path='mwscript extensions/CirrusSearch/maintenance/UpdateSearchIndexConfig.php',
dbname=db_name, dbname=db_name,
)) ))
summary = 'Creating {db_name} ({phab})'.format( summary = 'Creating {db_name} ({phab})'.format(