Page MenuHomePhabricator

Query Service Wikibase Cloud gives wrong statement links
Open, Needs TriagePublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Open query service for a wikibase cloud instance
  • Write a query that selects statement links, such as https://tinyurl.com/24klwxz9 (Note that this query works on other wikibases that contain items too, for example https://tinyurl.com/23rzj32w)
  • Run the query
  • Open the first statement link returned

What happens?:
After you open the link, you get to a page which says "Bad Request\n Invalid ID: statement/<long ID string here>"

What should have happened instead?:
You should, like when selecting a wikidata statement, get sent to the specific statement of the specific item that this link should point to.

Software version:
See here: https://validatortest.wikibase.cloud/wiki/Special:Version

Event Timeline

Thanks, possibly we need to be more careful how we do this rewriting in https://github.com/wbstack/mediawiki/blob/main/Dockerfile#L96 to better match what is done (for example) on Wikidata. I would describe this as a bug.

Gehel subscribed.

Removing the Wikidata Query Service tag, since this is specific to WBClould