https://bugzilla.wikimedia.org/show_bug.cgi?id=42719

       Web browser: ---
            Bug ID: 42719
           Summary: make standalone database update script for wikibase
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: WikidataRepo
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected],
                    [email protected]
    Classification: Unclassified
   Mobile Platform: ---

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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to