Wikibase Suite (WBS)

Updating Wikibase Suite (WBS) Wikibase

Back to the release guide

Use this guide when the release refreshes MediaWiki or bundled extensions.

Automated update

The recommended workflow is:

wbs-dev update wikibase

The command:

  1. Discovers the latest stable maintenance release in the current MediaWiki line and the newest newer stable release line, when available.
  2. Asks whether to update MediaWiki, refresh extensions without changing MediaWiki, or skip Wikibase.
  3. Links a proposed MediaWiki update to the release notes for that line, which contain the changes for each maintenance release.
  4. Resolves every bundled Wikimedia extension to the latest commit on the selected MediaWiki REL branch without asking for each extension separately.
  5. Resolves the configured community extensions from their development branches.
  6. Presents current-to-proposed commit ranges, drafts the changelog, asks the operator to confirm the image version, and leaves every change unstaged for review with git diff.

Source repositories, refs, revisions, image dependencies, image version, and tag policy live in docker-bake.hcl, which is the authoritative image manifest. The TypeScript provider contains only the Wikibase-specific update interview and compatibility logic. The command confirms that releases and branches exist, but it cannot establish compatibility with local patches or the OpenSearch image.

Manual update

The same update can be prepared manually:

  1. Find the available MediaWiki releases and decide whether to use the latest maintenance release in the current line, move to a newer stable line, or leave MEDIAWIKI_VERSION unchanged.
  2. Set MEDIAWIKI.version in docker-bake.hcl when changing MediaWiki.
  3. Derive the extension branch as REL<major>_<minor> from that version—for example, MediaWiki 1.46 uses REL1_46.
  4. Resolve the head of that branch for every Wikimedia-maintained extension declared in docker-bake.hcl and update its revision attribute.
  5. Resolve the configured branch heads for WikibaseLocalMedia, WikibaseEdtf, and WikibaseInWikitext and update their revision attributes.
  6. Review the MediaWiki release notes and every resulting commit range before building or testing the image.

Review

Review the MediaWiki release notes, community-extension changes, local patches, and OpenSearch compatibility.

Choosing a version

Treat the MediaWiki release line as a compatibility boundary. Although the second number in a MediaWiki version such as 1.46 occupies the semantic-version minor position, moving to a new line—for example, from 1.45 to 1.46—can and usually does include breaking changes for this image, so normally use a new Wikibase image major version. Within the same MediaWiki line, treat a maintenance release such as 1.46.4 to 1.46.5 as a Wikibase image minor update. Also use a minor update for backward-compatible features added locally, including a new bundled extension. Other dependency-only updates that do not change MediaWiki are usually patch updates. Any actual incompatible change still requires a major update.

Dependencies not updated automatically

wbs-dev update does not select the PHP runtime or Composer build image in docker-bake.hcl. When reviewing them:

Continue with release preparation