Page MenuHomePhabricator

prevent update.php from updating database schemata of wgSharedTables
Closed, ResolvedPublic


Presently when updating a mediawiki that takes part in a wikifarm which partially shared table (interwiki, users, etc.) to a new version, update.php not only updates the tables from the wiki it is run on, but also the database schemata of referenced in wgSharedTables.

We do disable wgSharedTables when testing and reenable it afterwards, but it is a constant source of potential errors. Usually the earlier versions which rely on the earlier schema break, whereas some care has been taken to make later versions run with (at least some) shared tables of earlier versions. For example, this is presently so with users in 1.18, 1.19, 1.20.

I wonder whether it would be relatively simple to exempt the tables listed in wgSharedTables from being affected by update.php. If so this would remove one headache from testing new versions or having a mixed-version deployment (at least for a while).

Version: 1.20.x
Severity: enhancement



Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 12:46 AM
bzimport added a project: MediaWiki-Installer.
bzimport set Reference to bz43116.
bzimport added a subscriber: Unknown Object (MLST).
IAlex added a comment.Dec 27 2012, 5:39 PM

Gerrit change #43116

IAlex added a comment.Dec 27 2012, 5:40 PM

Oops, picked up the wrong number...
Gerrit change #40803

IAlex added a comment.Jan 3 2013, 7:00 PM

Change merged.

Restricted Application added a subscriber: StudiesWorld. · View Herald TranscriptJan 28 2016, 6:08 PM