Last modified: 2014-02-12 23:38:01 UTC
It would be useful to have an update script for wikibase specifically, that, when called, would perform all necessary schema update and rebuild any secondary data if needed. It should behave modes that make it different from the main updater: * usually, all patches and updates are performed, as with the main updater * in "conservative" mode, potentially slow/expensive schema updates are not performed. Warnings are shown indicating which settings are needed to allow operation with the incomplete schema. * in "dry" mode, any SQL that would be executed is displayed, and updates to be performed are logged. This is tricky though, because executing the database patches may influence which code path is taken later, i.e. which further changes are applied. This may be hard to predict.
Sounds sensible. Should be also rethought in light of a possible setup script and how it would interplay with it, if at all.