Page MenuHomePhabricator

addWiki.php errored with ALTER command denied to user 'wikiadmin2023'@'10.194.202.235' for table `kajwiki`.`cusi_case`
Closed, ResolvedPublic

Description

When working on T413283: Create Jju Wikipedia, I encountered the following error:

Populating sic_url_identifier in cusi_case...
Nothing to do as CheckUser Suggested Investigations is not enabled.
done.
Wikimedia\Rdbms\DBQueryError from line 1227 of /srv/mediawiki/php-1.46.0-wmf.12/includes/libs/Rdbms/Database/Database.php: Error 1142: ALTER command denied to user 'wikiadmin2023'@'10.194.202.235' for table `kajwiki`.`cusi_case`
Function: Wikimedia\Rdbms\Database::sourceFile( /srv/mediawiki/php-1.46.0-wmf.12/extensions/CheckUser/src/HookHandler/../../schema/mysql/patch-cusi_case-modify-sic_url_identifier.sql )
Query: ALTER TABLE `cusi_case`
 CHANGE sic_url_identifier sic_url_identifier INT UNSIGNED NOT NULL


#0 /srv/mediawiki/php-1.46.0-wmf.12/includes/libs/Rdbms/Database/Database.php(1211): Wikimedia\Rdbms\Database->getQueryException('ALTER command d...', 1142, 'ALTER TABLE `cu...', 'Wikimedia\\Rdbms...')
#1 /srv/mediawiki/php-1.46.0-wmf.12/includes/libs/Rdbms/Database/Database.php(1185): Wikimedia\Rdbms\Database->getQueryExceptionAndLog('ALTER command d...', 1142, 'ALTER TABLE `cu...', 'Wikimedia\\Rdbms...')
#2 /srv/mediawiki/php-1.46.0-wmf.12/includes/libs/Rdbms/Database/Database.php(642): Wikimedia\Rdbms\Database->reportQueryError('ALTER command d...', 1142, 'ALTER TABLE `cu...', 'Wikimedia\\Rdbms...', false)
#3 /srv/mediawiki/php-1.46.0-wmf.12/includes/libs/Rdbms/Database/Database.php(2855): Wikimedia\Rdbms\Database->query(Object(Wikimedia\Rdbms\Query), 'Wikimedia\\Rdbms...')
#4 /srv/mediawiki/php-1.46.0-wmf.12/includes/libs/Rdbms/Database/Database.php(2792): Wikimedia\Rdbms\Database->sourceStream(Resource id #5170, NULL, NULL, 'Wikimedia\\Rdbms...', NULL)
#5 /srv/mediawiki/php-1.46.0-wmf.12/includes/libs/Rdbms/Database/DBConnRef.php(129): Wikimedia\Rdbms\Database->sourceFile('/srv/mediawiki/...')
#6 /srv/mediawiki/php-1.46.0-wmf.12/includes/libs/Rdbms/Database/DBConnRef.php(925): Wikimedia\Rdbms\DBConnRef->__call('sourceFile', Array)
#7 /srv/mediawiki/php-1.46.0-wmf.12/includes/Installer/DatabaseUpdater.php(779): Wikimedia\Rdbms\DBConnRef->sourceFile('/srv/mediawiki/...')
#8 /srv/mediawiki/php-1.46.0-wmf.12/includes/Installer/DatabaseUpdater.php(1234): MediaWiki\Installer\DatabaseUpdater->applyPatch('/srv/mediawiki/...', true, 'Modifying sic_u...')
#9 /srv/mediawiki/php-1.46.0-wmf.12/includes/Installer/DatabaseUpdater.php(1044): MediaWiki\Installer\DatabaseUpdater->modifyFieldWithCondition('cusi_case', 'sic_url_identif...', Object(Closure), '/srv/mediawiki/...', true)
#10 /srv/mediawiki/php-1.46.0-wmf.12/includes/Installer/DatabaseUpdater.php(570): MediaWiki\Installer\DatabaseUpdater->modifyField('cusi_case', 'sic_url_identif...', '/srv/mediawiki/...', true)
#11 /srv/mediawiki/php-1.46.0-wmf.12/includes/Installer/DatabaseUpdater.php(528): MediaWiki\Installer\DatabaseUpdater->runUpdates(Array, true, true)
#12 /srv/mediawiki/php-1.46.0-wmf.12/includes/Installer/Task/ExtensionTablesTask.php(40): MediaWiki\Installer\DatabaseUpdater->doUpdates(Array)
#13 /srv/mediawiki/php-1.46.0-wmf.12/includes/Installer/Task/TaskRunner.php(155): MediaWiki\Installer\Task\ExtensionTablesTask->execute()
#14 /srv/mediawiki/php-1.46.0-wmf.12/includes/Installer/Task/TaskRunner.php(52): MediaWiki\Installer\Task\TaskRunner->runTask(Object(MediaWiki\Installer\Task\ExtensionTablesTask))
#15 /srv/mediawiki/php-1.46.0-wmf.12/maintenance/installPreConfigured.php(82): MediaWiki\Installer\Task\TaskRunner->execute()
#16 /srv/mediawiki/php-1.46.0-wmf.12/extensions/WikimediaMaintenance/maintenance/addWiki.php(61): InstallPreConfigured->execute()
#17 /srv/mediawiki/php-1.46.0-wmf.12/maintenance/includes/MaintenanceRunner.php(696): AddWiki->execute()
#18 /srv/mediawiki/php-1.46.0-wmf.12/maintenance/run.php(53): MediaWiki\Maintenance\MaintenanceRunner->run()
#19 /srv/mediawiki/multiversion/MWScript.php(219): require_once('/srv/mediawiki/...')
#20 {main}
Modifying sic_url_identifier field of table cusi_case...[urbanecm@deploy2002 ~]$

This is confusing. As far as I understand things, the cusi_case table is only supposed to exist on x1 on wikis where Suggested Investigation is enabled, and kajwiki is not such a wiki.

Event Timeline

This blocks new wiki creation. Can someone from PSI take a look at this soon? Thank you!

This is confusing. As far as I understand things, the cusi_case table is only supposed to exist on x1 on wikis where Suggested Investigation is enabled, and kajwiki is not such a wiki.

Yeah, it doesn't exist on that wiki. But it seems that running the schema updates from LoadExtensionSchemaUpdates isn't something we do on WMF wikis? My understanding is that the update.php command is not run on production at all, though maybe this is from install.php?

As for solving this problem:

  • We lack the ability to read extension config in install.php, so cannot be sure if the feature is or is not enabled during install
    • Therefore, we unconditionally create the database table on the virtual domain and apply schema updates to it
  • The user seems to have the ability to create the cusi_case table, as the table is created before this line so it likely already has this update applied
    • Maybe we can have a more restrictive modifyField check to see if the field already has been modified in the specified way? Then we wouldn't see the error when creating new wikis (though the database table would still be created)

@Urbanecm_WMF where is the above log snippet from? Is it from addWiki.php running install.php?

If so, then I don't think I see exactly what Product Safety and Integrity can do here because we need the schema changes to be applied when running install.php for wikis that may have the feature enabled. As mentioned above, we cannot skip creating the database tables based on CheckUser configuration values (as config is not accessible during install.php)

Skipping just the ALTER TABLE commands for install could work (because the CREATE TABLE command should have already been applied to the initial definition of the table). However, skipping modify field commands on install feels like an issue that should be fixed in MediaWiki core because:

  • This does not seem specific to CheckUser, as any run of install.php for any other code which modifies a field in a database table will have the schema change run AFAICS
    • Therefore, CheckUser is just a symptom of the wider issue that addWiki.php should not run schema updates. Whether that means no install.php or making it possible to skip schema updates during install.php, I am not sure

@Urbanecm_WMF where is the above log snippet from? Is it from addWiki.php running install.php?

Yes.

1zabe@deploy2002:~$ mwscript extensions/WikimediaMaintenance/maintenance/addWiki.php --wiki=pplwiki
2[extensions] Including extensions... done
3[database] Setting up database... done
4[tables] Creating tables... done
5[stats] Initializing statistics... done
6[updates] Prevent running unneeded updates... done
7[restore-services] Restoring MediaWiki services... done
8[external-domains] Creating external databases... done
9Warning: Skipping potentially shared domain "virtual-urlshortener"
10Warning: Skipping potentially shared domain "virtual-globalblocking"
11Warning: Skipping potentially shared domain "virtual-centralauth"
12Warning: Skipping potentially shared domain "virtual-centralnotice"
13Warning: Skipping potentially shared domain "virtual-globalusage"
14Warning: Skipping potentially shared domain "virtual-bouncehandler"
15Warning: Skipping potentially shared domain "virtual-LoginNotify"
16Warning: Skipping potentially shared domain "virtual-cx"
17Warning: Skipping potentially shared domain "virtual-wikibase-terms"
18Warning: Skipping potentially shared domain "virtual-globaljsonlinks"
19Warning: Skipping potentially shared domain "virtual-oauth"
20Warning: Skipping potentially shared domain "virtual-oathauth"
21Warning: Skipping potentially shared domain "virtual-checkuser-global"
22Warning: Skipping potentially shared domain "virtual-readinglists"
23Warning: Skipping potentially shared domain "virtual-campaignevents"
24[extension-tables] Creating tables for enabled extensions... Creating transcode table...done.
25Modifying transcode_time_error field of table transcode...done.
26Creating global_block_whitelist table...done.
27Modifying gbw_expiry field of table global_block_whitelist...done.
28Modifying gbw_id field of table global_block_whitelist...done.
29Creating securepoll_elections table...done.
30Running MediaWiki\Extension\Nuke\Maintenance\NormalizeNukeTags...
31... Checking state of old Nuke tag...
32... Old Nuke tag does not exist.
33done.
34Creating spoofuser table...done.
35Modifying table spoofuser with patch /srv/mediawiki-staging/php-1.46.0-wmf.13/extensions/AntiSpoof/includes/../sql/mysql/patch-change-spoofuser-binary.sql...done.
36Creating abuse_filter table...done.
37Running MediaWiki\Extension\AbuseFilter\Maintenance\MigrateActorsAF...
38No need to migrate abuse_filter.af_user, field does not exist
39No need to migrate abuse_filter_history.afh_user, field does not exist
40done.
41Running MediaWiki\Extension\AbuseFilter\Maintenance\PopulateAbuseFilterLogIPHex...
42Populating afl_ip_hex in abuse_filter_log with value from afl_ip...
43Nothing to do as afl_ip does not exist in abuse_filter_log.
44done.
45Modifying afl_ip_hex field of table abuse_filter_log...done.
46Creating betafeatures_user_counts table...done.
47Creating linter table...done.
48Modifying linter_params field of table linter...done.
49Creating babel table...done.
50Modifying babel_lang field of table babel...done.
51Modifying babel_level field of table babel...done.
52Creating geo_tags table...done.
53Creating discussiontools_subscription table...done.
54Creating discussiontools_items table...done.
55 Done!
56Creating wbc_entity_usage table...done.
57 Filling usage table: processed 0 pages, starting with page #0.
58Creating cu_changes table...done.
59Running MediaWiki\CheckUser\Maintenance\PopulateCulComment...
60The cu_log table seems to be empty.
61done.
62Running MediaWiki\CheckUser\Maintenance\PopulateCucComment...
63The cu_changes table seems to be empty.
64done.
65Modifying cul_actor field of table cu_log...done.
66Modifying cul_reason_id field of table cu_log...done.
67Modifying cuc_actor field of table cu_changes...done.
68Running MediaWiki\CheckUser\Maintenance\MoveLogEntriesFromCuChanges...
69cu_changes is empty; nothing to move.
70done.
71Modifying cuc_id field of table cu_changes...done.
72Modifying cupe_actor field of table cu_private_event...done.
73Running MediaWiki\CheckUser\Maintenance\DeleteReadOldRowsInCuChanges...
74cu_changes is empty; nothing to delete.
75done.
76...skipping update to table urlshortcodes in shared virtual domain.
77...skipping update to table urlshortcodes in shared virtual domain.
78...skipping update to table globalblocks in shared virtual domain.
79...skipping update to table globalblocks in shared virtual domain.
80...skipping update to table globalblocks in shared virtual domain.
81...skipping update to table globalblocks in shared virtual domain.
82...skipping update to table globalblocks in shared virtual domain.
83...skipping update to table globalblocks in shared virtual domain.
84...skipping update to table globalblocks in shared virtual domain.
85...skipping update to table globalblocks in shared virtual domain.
86Running MediaWiki\Extension\GlobalBlocking\Maintenance\UpdateAutoBlockParentIdColumn...
87The field globalblocks.gb_autoblock_parent_id is not nullable, nothing to do.
88done.
89...skipping update to table globalblocks in shared virtual domain.
90...skipping update to table globalblocks in shared virtual domain.
91...skipping update to table globalblocks in shared virtual domain.
92...skipping update to table globalblocks in shared virtual domain.
93...skipping update to table globaluser in shared virtual domain.
94Running MediaWiki\Extension\CentralAuth\Maintenance\MigrateGuSalt...
95The gu_salt column does not seem to exist.
96done.
97...skipping update to table renameuser_queue in shared virtual domain.
98...skipping update to table globaluser in shared virtual domain.
99...skipping update to table localuser in shared virtual domain.
100...skipping update to table cn_notices in shared virtual domain.
101...skipping update to table cn_notice_regions in shared virtual domain.
102...skipping update to table cn_templates in shared virtual domain.
103...skipping update to table cn_templates in shared virtual domain.
104...skipping update to table cn_notices in shared virtual domain.
105...skipping update to table cn_notice_log in shared virtual domain.
106...skipping update to table cn_notices in shared virtual domain.
107...skipping update to table cn_notice_log in shared virtual domain.
108...skipping update to table cn_notice_languages in shared virtual domain.
109...skipping update to table cn_notice_projects in shared virtual domain.
110...skipping update to table cn_notice_countries in shared virtual domain.
111...skipping update to table cn_notice_regions in shared virtual domain.
112...default known devices already added
113...skipping update to table globalimagelinks in shared virtual domain.
114...skipping update to table bounce_records in shared virtual domain.
115...skipping update to table bounce_records in shared virtual domain.
116...skipping update to table loginnotify_seen_net in shared virtual domain.
117...skipping update to table cx_translations in shared virtual domain.
118...skipping update to table cx_notification_log in shared virtual domain.
119...skipping update to table cx_significant_edits in shared virtual domain.
120...skipping update to table cx_section_translations in shared virtual domain.
121...skipping update to table cx_section_translations in shared virtual domain.
122...skipping update to table cx_lists in shared virtual domain.
123...skipping update to table cx_notification_log in shared virtual domain.
124...skipping update to table cx_corpora in shared virtual domain.
125...skipping update to table cx_translations in shared virtual domain.
126...skipping update to table cx_notification_log in shared virtual domain.
127...skipping update to table cx_translators in shared virtual domain.
128...skipping update to table cx_translations in shared virtual domain.
129...skipping update to table cx_translators in shared virtual domain.
130...skipping update to table cx_translations in shared virtual domain.
131...skipping update to table cx_suggestions in shared virtual domain.
132...skipping update to table cx_lists in shared virtual domain.
133...skipping update to table cx_translations in shared virtual domain.
134...skipping update to table cx_translations in shared virtual domain.
135...skipping update to table globaljsonlinks in shared virtual domain.
136...skipping update to table globaljsonlinks_wiki in shared virtual domain.
137...skipping update to table oauth_registered_consumer in shared virtual domain.
138...skipping update to table oauth_registered_consumer in shared virtual domain.
139...skipping update to table oauth_registered_consumer in shared virtual domain.
140...skipping update to table oauth_registered_consumer in shared virtual domain.
141...skipping update to table oauth_accepted_consumer in shared virtual domain.
142...skipping update to table oauth2_access_tokens in shared virtual domain.
143...skipping update to table oauth2_access_tokens in shared virtual domain.
144...skipping update to table oauth_accepted_consumer in shared virtual domain.
145...skipping update to table oauth_registered_consumer in shared virtual domain.
146...skipping update to table oathauth_types in shared virtual domain.
147Creating mediamoderation_scan table...done.
148Creating cusi_case table...done.
149...skipping update to table cuci_wiki_map in shared virtual domain.
150...skipping update to table cuci_temp_edit in shared virtual domain.
151...skipping update to table cuci_user in shared virtual domain.
152Running MediaWiki\CheckUser\Maintenance\PopulateSicUrlIdentifier...
153Populating sic_url_identifier in cusi_case...
154Nothing to do as CheckUser Suggested Investigations is not enabled.
155done.
156Modifying sic_url_identifier field of table cusi_case...Wikimedia\Rdbms\DBQueryError from line 1226 of /srv/mediawiki-staging/php-1.46.0-wmf.13/includes/libs/Rdbms/Database/Database.php: Error 1142: ALTER command denied to user 'wikiadmin2023'@'10.192.32.7' for table `pplwiki`.`cusi_case`
157Function: Wikimedia\Rdbms\Database::sourceFile( /srv/mediawiki-staging/php-1.46.0-wmf.13/extensions/CheckUser/src/HookHandler/../../schema/mysql/patch-cusi_case-modify-sic_url_identifier.sql )
158Query: ALTER TABLE `cusi_case`
159 CHANGE sic_url_identifier sic_url_identifier INT UNSIGNED NOT NULL
160
161
162#0 /srv/mediawiki-staging/php-1.46.0-wmf.13/includes/libs/Rdbms/Database/Database.php(1210): Wikimedia\Rdbms\Database->getQueryException('ALTER command d...', 1142, 'ALTER TABLE `cu...', 'Wikimedia\\Rdbms...')
163#1 /srv/mediawiki-staging/php-1.46.0-wmf.13/includes/libs/Rdbms/Database/Database.php(1184): Wikimedia\Rdbms\Database->getQueryExceptionAndLog('ALTER command d...', 1142, 'ALTER TABLE `cu...', 'Wikimedia\\Rdbms...')
164#2 /srv/mediawiki-staging/php-1.46.0-wmf.13/includes/libs/Rdbms/Database/Database.php(641): Wikimedia\Rdbms\Database->reportQueryError('ALTER command d...', 1142, 'ALTER TABLE `cu...', 'Wikimedia\\Rdbms...', false)
165#3 /srv/mediawiki-staging/php-1.46.0-wmf.13/includes/libs/Rdbms/Database/Database.php(2853): Wikimedia\Rdbms\Database->query(Object(Wikimedia\Rdbms\Query), 'Wikimedia\\Rdbms...')
166#4 /srv/mediawiki-staging/php-1.46.0-wmf.13/includes/libs/Rdbms/Database/Database.php(2790): Wikimedia\Rdbms\Database->sourceStream(Resource id #5035, NULL, NULL, 'Wikimedia\\Rdbms...', NULL)
167#5 /srv/mediawiki-staging/php-1.46.0-wmf.13/includes/libs/Rdbms/Database/DBConnRef.php(129): Wikimedia\Rdbms\Database->sourceFile('/srv/mediawiki-...')
168#6 /srv/mediawiki-staging/php-1.46.0-wmf.13/includes/libs/Rdbms/Database/DBConnRef.php(925): Wikimedia\Rdbms\DBConnRef->__call('sourceFile', Array)
169#7 /srv/mediawiki-staging/php-1.46.0-wmf.13/includes/Installer/DatabaseUpdater.php(779): Wikimedia\Rdbms\DBConnRef->sourceFile('/srv/mediawiki-...')
170#8 /srv/mediawiki-staging/php-1.46.0-wmf.13/includes/Installer/DatabaseUpdater.php(1234): MediaWiki\Installer\DatabaseUpdater->applyPatch('/srv/mediawiki-...', true, 'Modifying sic_u...')
171#9 /srv/mediawiki-staging/php-1.46.0-wmf.13/includes/Installer/DatabaseUpdater.php(1044): MediaWiki\Installer\DatabaseUpdater->modifyFieldWithCondition('cusi_case', 'sic_url_identif...', Object(Closure), '/srv/mediawiki-...', true)
172#10 /srv/mediawiki-staging/php-1.46.0-wmf.13/includes/Installer/DatabaseUpdater.php(570): MediaWiki\Installer\DatabaseUpdater->modifyField('cusi_case', 'sic_url_identif...', '/srv/mediawiki-...', true)
173#11 /srv/mediawiki-staging/php-1.46.0-wmf.13/includes/Installer/DatabaseUpdater.php(528): MediaWiki\Installer\DatabaseUpdater->runUpdates(Array, true, true)
174#12 /srv/mediawiki-staging/php-1.46.0-wmf.13/includes/Installer/Task/ExtensionTablesTask.php(40): MediaWiki\Installer\DatabaseUpdater->doUpdates(Array)
175#13 /srv/mediawiki-staging/php-1.46.0-wmf.13/includes/Installer/Task/TaskRunner.php(155): MediaWiki\Installer\Task\ExtensionTablesTask->execute()
176#14 /srv/mediawiki-staging/php-1.46.0-wmf.13/includes/Installer/Task/TaskRunner.php(52): MediaWiki\Installer\Task\TaskRunner->runTask(Object(MediaWiki\Installer\Task\ExtensionTablesTask))
177#15 /srv/mediawiki-staging/php-1.46.0-wmf.13/maintenance/installPreConfigured.php(82): MediaWiki\Installer\Task\TaskRunner->execute()
178#16 /srv/mediawiki-staging/php-1.46.0-wmf.13/extensions/WikimediaMaintenance/maintenance/addWiki.php(61): InstallPreConfigured->execute()
179#17 /srv/mediawiki-staging/php-1.46.0-wmf.13/maintenance/includes/MaintenanceRunner.php(694): AddWiki->execute()
180#18 /srv/mediawiki-staging/php-1.46.0-wmf.13/maintenance/run.php(53): MediaWiki\Maintenance\MaintenanceRunner->run()
181#19 /srv/mediawiki-staging/multiversion/MWScript.php(219): require_once('/srv/mediawiki-...')
182#20 {main}
183zabe@deploy2002:~$

If so, then I don't think I see exactly what Product Safety and Integrity can do here because we need the schema changes to be applied when running install.php for wikis that may have the feature enabled. As mentioned above, we cannot skip creating the database tables based on CheckUser configuration values (as config is not accessible during install.php)

Skipping just the ALTER TABLE commands for install could work (because the CREATE TABLE command should have already been applied to the initial definition of the table). However, skipping modify field commands on install feels like an issue that should be fixed in MediaWiki core because:

  • This does not seem specific to CheckUser, as any run of install.php for any other code which modifies a field in a database table will have the schema change run AFAICS
    • Therefore, CheckUser is just a symptom of the wider issue that addWiki.php should not run schema updates

As I've said above, this is an issue stemming from running install.php to run schema updates and isn't the fault of CheckUser per-se. We cannot simply read CheckUser config during install.php to know if the table should be created, as it is not available. Additionally, cusi_case shouldn't be created either IMO.

Therefore, the only solution I see that we could take in CheckUser is to never create cusi_case when running install.php and only then create it once update.php is run. That is hacky, but it unblocks this issue for creating more wikis because AFAIK update.php is never run in production

Change #1240923 had a related patch set uploaded (by Dreamy Jazz; author: Dreamy Jazz):

[mediawiki/extensions/CheckUser@master] SI: Don't run DB updates during install or when not enabled

https://gerrit.wikimedia.org/r/1240923

Change #1240923 abandoned by Dreamy Jazz:

[mediawiki/extensions/CheckUser@master] SI: Don't run DB updates during install or when not enabled

Reason:

Doesn't work. See task for why

https://gerrit.wikimedia.org/r/1240923

That doesn't work because InstallPreConfigured does not use install.php and instead runs the DB updates directly. It is plausible that config will exist when this is running and so we can't easily detect when we shouldn't be attempting to make schema updates.

Additionally, in CI the Suggested Investigations feature is disabled by default. Without adding something to DevelopmentSettings.php, this means we cannot skip creating SI tables.

Instead, I see no way to fix this in CheckUser and MediaWiki core will need to be updated to just skip all ALTER TABLE commands when using InstallPreConfigured

Change #1240964 had a related patch set uploaded (by Dreamy Jazz; author: Dreamy Jazz):

[mediawiki/core@master] ExtensionTablesTask: Skip schema ALTER updates

https://gerrit.wikimedia.org/r/1240964

The above patch will:

  • Skip all schema updates for extensions during install.php, which prevents the errors about ALTER TABLE not being run
  • Run the skipped updates when update.php is run, which should have no effect other than creating an updatelog for them (though if the initial CREATE TABLE command is out of sync to what the schema updates apply, then this is necessary to ensure the schema is fully up to date)

To recap why this is necessary:

  • During install.php, config will not necessarily be available for extensions and so we cannot alter/create tables depending on the value of a configuration value
  • On WMF wikis, any ALTER TABLE command that is run during install.php will fail as the user does not have permission to alter tables (only to create them)
    • Therefore, this isn't specific to CheckUser or extensions in general and the issue is best fixed by ensuring that no ALTER TABLE command could run on WMF wikis during a run of install.php

Change #1240976 had a related patch set uploaded (by Dreamy Jazz; author: Dreamy Jazz):

[mediawiki/extensions/WikimediaMaintenance@master] addWiki.php: Skip ALTER TABLE updates during install

https://gerrit.wikimedia.org/r/1240976

Change #1240964 merged by jenkins-bot:

[mediawiki/core@master] ExtensionTablesTask: Allow skipping schema ALTER updates

https://gerrit.wikimedia.org/r/1240964

Change #1240976 merged by jenkins-bot:

[mediawiki/extensions/WikimediaMaintenance@master] addWiki.php: Skip ALTER TABLE updates during install

https://gerrit.wikimedia.org/r/1240976

Tested as part of T414234: Create Wikipedia Karai-Karai and seems to work. Thanks!