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

new_wikis_handler: Wiki creators should sync project logos before IS.php

Otherwise, IS.php will refer to a non-existent URL for a brief
period.
This commit is contained in:
Martin Urbanec 2020-07-29 19:26:55 +02:00
parent 037e84cd22
commit 8aba9ff144

View file

@ -248,8 +248,8 @@ def hande_task(phid):
add_text('`scap sync-wikiversions "{}"`'.format(summary)) add_text('`scap sync-wikiversions "{}"`'.format(summary))
if parts[1] == 'wikimedia': if parts[1] == 'wikimedia':
add_text('`scap sync-file multiversion/MWMultiVersion.php "{}"`'.format(summary)) add_text('`scap sync-file multiversion/MWMultiVersion.php "{}"`'.format(summary))
add_text('`scap sync-file wmf-config/InitialiseSettings.php "{}"`'.format(summary))
add_text('`scap sync-file static/images/project-logos/ "{}"`'.format(summary)) add_text('`scap sync-file static/images/project-logos/ "{}"`'.format(summary))
add_text('`scap sync-file wmf-config/InitialiseSettings.php "{}"`'.format(summary))
if parts[1] != 'wikimedia': if parts[1] != 'wikimedia':
add_text('`scap sync-file langlist "{}"`'.format(summary)) add_text('`scap sync-file langlist "{}"`'.format(summary))
add_text('`scap update-interwiki-cache`') add_text('`scap update-interwiki-cache`')