Page MenuHomePhabricator

Wikibase registry provides wrong Concept URI: https instead of http
Closed, ResolvedPublic

Description

On https://wikibase-registry.wmflabs.org/wiki/Item:Q4 hover over "Concept URI" (left side bar).
The link starts with https: https://wikibase-registry.wmflabs.org/entity/Q4
However, this does not work in a query, while http concept URIs do work.
Example query (with URIs fully spelled out to not hide the details):

https://wikibase-registry-query.wmflabs.org/#select%20%2a%20where%20%7B%0A%20%20%3Chttp%3A%2F%2Fwikibase-registry.wmflabs.org%2Fentity%2FQ4%3E%20%3Chttp%3A%2F%2Fwikibase-registry.wmflabs.org%2Fprop%2Fdirect%2FP2%3E%20%3Fvalue%20.%0A%7D

Wikidata concept URIs also start with http.

Event Timeline

Restricted Application added a project: Wikidata. · View Herald TranscriptSep 10 2019, 12:43 PM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Addshore closed this task as Resolved.Sep 19 2019, 9:03 PM
Addshore claimed this task.

Fixed with the addition of the following setting in the config.

wgWBRepoSettings['conceptBaseUri'] = 'http://wikibase-registry.wmflabs.org/entity/';
Restricted Application added a project: User-Addshore. · View Herald TranscriptSep 19 2019, 9:04 PM