Page MenuHomePhabricator

SiteMatrix shows redlinks for most wikis with non-ISO codes & includes some domain-level redirects
Open, Needs TriagePublicBUG REPORT

Description

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

What happens?:
Auditing all the redlinked Wikipedias:

What should have happened instead?:
Redlinks should only occur for wikis where the domain does not contain a wiki. Domain-level redirects should either be excluded from the matrix (maybe listed as an alias beneath their target?) or given some other styling, like an italicized bluelink.

Other information (browser name/version, screenshots, etc.):
This is discussed somewhat at T356849, although only in the context of Alemannic Wikipedia. The unifying attribute here is that these are wikis whose language codes do not match their ISO 639 codes. However, that's not the whole story: Per T125073, nrm and eml are also invalid ISO codes, but both of those are correctly bluelinked. So something about these seven (als, bat-smg-, fiu-vro, roa-rup, zh-classical, zh-min-nan, & zh-yue) is causing them to be treated differently—maybe the implementation of redirects from the correct code?

Note that I only audited Wikipedias, since the redlinks are easiest to spot there; this may also be happening with non-WP wikis in the matrix.

The issue with domain-level redirects is related but distinct (and if it should be split off, feel free, but I've filed it together due to the overlap). See T169450 for backstory there. Note that Alemannic has the quirk that its wikt, wq, and wb domains redirect to its wp domain, but AFAIK the others don't have that.

Event Timeline

Tamzin renamed this task from SiteMatrix shows redlinks for most wikis with non-ISO codes & includes domain-level redirects to SiteMatrix shows redlinks for most wikis with non-ISO codes & includes some domain-level redirects.Jul 13 2025, 9:26 AM

Note that of the two non-ISO codes that don't run into this redlink issue, eml is a deprecated code and nrm is a valid code for a different language (Narom). However, that still doesn't explain the discrepancy, as als is a valid code for Tosk Albanian but still has this issue.