Page MenuHomePhabricator

Fix relative links for Qids in Annotool
Closed, ResolvedPublicBUG REPORT

Description

The statements linked are using the https://annotool.toolforge.org/ domain instead of https://www.wikidata.org/wiki/ for Qid links or if correct are returning 404.

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

What happens?:
Results in 404 due to URL construction or not serving the Qid content

Example with screenshots for Q5 (same result for Q54817164 pictured in the screenshots below)

Screenshot from 2023-08-10 08-15-17.png (402×1 px, 21 KB)

Screenshot from 2023-08-10 08-15-54.png (664×1 px, 84 KB)

Screenshot from 2023-08-10 08-16-25.png (1×2 px, 45 KB)

Expected destination would be https://www.wikidata.org/wiki/Q5 instead of https://annotool.toolforge.org/wiki/Q5 with 404

What should have happened instead?:

Software version (skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

Details

Related Changes in GitLab:
TitleReferenceAuthorSource BranchDest Branch
Make relative links in revision diff html absolutemnz/annotool!10mnzmnz/fix-diff-linksmain
Customize query in GitLab

Event Timeline

Hi @wolfgang8741, I deployed a patch Friday that fixes this but if you're still running into it, please let me know. Thanks!

fkaelin triaged this task as High priority.
fkaelin moved this task from Backlog to In Progress on the Research board.

Confirmed, the deployed patch is live and fixes the issue.