Last modified: 2014-02-12 23:38:01 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T44719, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 42719 - make standalone database update script for wikibase
make standalone database update script for wikibase
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Wikidata bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-12-05 10:36 UTC by Daniel Kinzler
Modified: 2014-02-12 23:38 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Daniel Kinzler 2012-12-05 10:36:30 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.
Comment 1 denny vrandecic 2012-12-13 11:47:55 UTC
Sounds sensible. Should be also rethought in light of a possible setup script and how it would interplay with it, if at all.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links