Repository navigation
fix(wikibase): migrate legacy pre-WBS 8 configurations - #983
Closed
lorenjohnson wants to merge 2 commits into
Closed
lorenjohnson wants to merge 2 commits into
lorenjohnson wants to merge 2 commits into
Conversation
Test this PR installerUse this command instead of the installer command in the published documentation: curl -fsSL https://wmde.github.io/wikibase-suite-install/pr-983 | bashThis URL tracks the latest successfully published source and image build for this PR. |
lorenjohnson
force-pushed
the
fix/migrate-pre-wbs-8-configuration
branch
from
October 9, 2026 14:57
51a681e to
f1aec3a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updating to WBS 8 will currently reject a valid
LocalSettings.phpfrom an installation upgraded to WBS 7 from an earlier release. Those installations retain the WBS 1–6 inline settings loader rather than the split loader created by fresh WBS 7 installs.The migration now recognizes both supported pre-WBS-8 layouts, preserves the corresponding settings and anonymous-access behavior, and validates the staged result before installing it. Unrecognized layouts remain unchanged and provide an actionable message with the expected layouts and a support link.
The upgrade tests cover both configuration shapes, formatting and rejection cases, resulting settings, and a rendered MediaWiki page. The WBS 3→4 guide now also makes the required Query Service reindex explicit because that transition changes its index format.
Validation: