Page MenuHomePhabricator

Allow multiple Wikibase sites
Closed, ResolvedPublicFeature

Description

The Global watchlist can handle maximum one Wikibase site, because it takes its name from the wgGlobalWatchlistWikibaseSite system variable. If there are more, they are ignored by Wikibase Handler module, and the list does not show the labels. While we have now after T415337: Recognize Wikibase when no wgGlobalWatchlistWikibaseSite system variable is set the Wikibase installation recognition by Action API siteinfo results, we can ignore the system variable and show as many wikibase sites as we want. For example, Wikidata and test.wikidata.org on Wikimedia Mediawiki wikifarm.

Event Timeline

IKhitron changed the task status from Open to Stalled.Jan 24 2026, 1:09 PM
IKhitron claimed this task.
IKhitron triaged this task as Medium priority.
IKhitron added a project: User-IKhitron.
IKhitron moved this task from Backlog to Coding on the User-IKhitron board.

Change #1231413 had a related patch set uploaded (by IKhitron; author: IKhitron):

[mediawiki/extensions/GlobalWatchlist@master] Fix the code for Wikibase Items outside the main namespace

https://gerrit.wikimedia.org/r/1231413

IKhitron changed the task status from Stalled to In Progress.Jan 25 2026, 9:54 PM
IKhitron raised the priority of this task from Medium to High.
IKhitron moved this task from Coding to Ready to review on the User-IKhitron board.

Change #1231413 merged by jenkins-bot:

[mediawiki/extensions/GlobalWatchlist@master] Fix the code for Wikibase Items outside the main namespace

https://gerrit.wikimedia.org/r/1231413

IKhitron moved this task from Ready to review to Merged on the User-IKhitron board.

Change #1235497 had a related patch set uploaded (by IKhitron; author: IKhitron):

[mediawiki/extensions/GlobalWatchlist@master] Remove the wgGlobalWatchlistWikibaseSite variable This patch removes the wgGlobalWatchlistWikibaseSite system variable from the extension code after the change wgGlobalWatchlistWikibaseSite, that replaced its usage by a new mechanism.

https://gerrit.wikimedia.org/r/1235497

Change #1235499 had a related patch set uploaded (by IKhitron; author: IKhitron):

[operations/mediawiki-config@master] Remove the wgGlobalWatchlistWikibaseSite variable values

https://gerrit.wikimedia.org/r/1235499

Change #1235497 merged by jenkins-bot:

[mediawiki/extensions/GlobalWatchlist@master] Remove the wgGlobalWatchlistWikibaseSite variable

https://gerrit.wikimedia.org/r/1235497

Change #1235499 merged by jenkins-bot:

[operations/mediawiki-config@master] Remove the wgGlobalWatchlistWikibaseSite variable values

https://gerrit.wikimedia.org/r/1235499

Mentioned in SAL (#wikimedia-operations) [2026-02-11T21:17:27Z] <cjming@deploy2002> Started scap sync-world: Backport for [[gerrit:1234538|Configure rate limit class for global bots (T415588)]], [[gerrit:1235499|Remove the wgGlobalWatchlistWikibaseSite variable values (T415440)]]

Mentioned in SAL (#wikimedia-operations) [2026-02-11T21:19:42Z] <cjming@deploy2002> cjming, matmarex, ikhitron: Backport for [[gerrit:1234538|Configure rate limit class for global bots (T415588)]], [[gerrit:1235499|Remove the wgGlobalWatchlistWikibaseSite variable values (T415440)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.

Mentioned in SAL (#wikimedia-operations) [2026-02-11T21:25:11Z] <cjming@deploy2002> Finished scap sync-world: Backport for [[gerrit:1234538|Configure rate limit class for global bots (T415588)]], [[gerrit:1235499|Remove the wgGlobalWatchlistWikibaseSite variable values (T415440)]] (duration: 07m 43s)