Page MenuHomeMiraheze

Connection between Wikibase repo and client is broken
Closed, InvalidPublic

Description

The connection between the nbdbwiki Wikibase repository and the nonbinarywiki Wikibase client seems to be broken. The Wikibase settings seem to be correctly set up, but when a statement is called from the client, the correct link is only provided if the Wikibase item is linked to a wiki article. Otherwise, it's linked to the Wikidata page with the same Qid.

An example of this behavior is this page. The first link in the infobox leads to Wikidata, while the second one correctly links to another wiki article. The infobox is based around a Lua module, but this error started happening recently, so I'm assuming it has to do with the recent update. Maybe related to T6376 ?

Event Timeline

Unknown Object (User) triaged this task as Normal priority.Oct 28 2020, 21:42
Unknown Object (User) added a project: Extensions.
Unknown Object (User) moved this task from Backlog to Deployed Extension Bugs on the Extensions board.Oct 28 2020, 21:42
Unknown Object (User) added a comment.Oct 30 2020, 15:27

Your issue seems to be coming from Module:NBDb

local article = mw.wikibase.getSitelink(id) or ("d:Special:EntityPage/" .. id)
		return "[[" .. article .. "|" .. (label or id) .. "]]" ..

Is Interwiki linked to wikidata it seems.

Huh, ok, closing as invalid. Looks like we just happened to notice that now. Sorry about that!