Page MenuHomePhabricator

html view of API fails to link names for non-wikipedia sites
Closed, ResolvedPublic

Description

As noted in T286354#7316653 the html view of the API links name entries to en.commons.org instead of www.commons.org.

This is likely caused by the assumption that the link is always [lang].[project].org. This fails for Commons and Wikidata (and others that are likely not relevant).

Event Timeline

Change 715319 had a related patch set uploaded (by Lokal Profil; author: Lokal Profil):

[labs/tools/heritage@master] Dont use lang in url pattern for multilingual sites

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

Change 715319 merged by jenkins-bot:

[labs/tools/heritage@master] Do not use lang in url pattern for multilingual sites

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

Mentioned in SAL (#wikimedia-cloud) [2021-09-04T19:50:20Z] <wm-bot> <lokal-profil> Deploy latest from Git master: b4d3e0e, 339838b (T289929), 7816a36 (T289930)