Jump to content

Talk:Interwiki map/Archives/2026

From Meta, a Wikimedia project coordination wiki
Latest comment: 1 month ago by NguoiDungKhongDinhDanh

Chinese Wikipedia Arbitration Wiki

Interwiki request: new

Status:    Done
wikidata status:   In progress

wikipedia-zh-arbcom is a Wikimedia project for zhwiki arbcom. In arbitration work, cross-wiki links have to be provided often; while the Interwiki map will be extremely beneficial and helpful to us.

arbcom-zh is also the name of the VRT queue. Thanks! ZhaoFJx(T) 17:46, 1 January 2026 (UTC)

Added. * Pppery * it has begun 18:33, 4 January 2026 (UTC)
Thank you :-) ZhaoFJx(T) 22:56, 4 January 2026 (UTC)
Can it be added locally on zhwiki? It's unlikely this wiki will be linked elsewhere. --Srapoj (talk) 21:06, 5 January 2026 (UTC)
Is the prefix likely to be used for something else globally? —Locke Coletc 22:03, 5 January 2026 (UTC)
The current way this page works it isn't technically possible to limit links to one wiki. And, well, I agree with Locke Cole, there' no conflict with anything else so no need to. * Pppery * it has begun 01:04, 6 January 2026 (UTC)
"it isn't technically possible to limit links to one wiki" That was going to be my next question, heh. —Locke Coletc 01:12, 6 January 2026 (UTC)
This section was archived on a request by: * Pppery * it has begun 01:04, 6 January 2026 (UTC)

Please add doc explaining lang prefix usage

The page does have this allusion to the possibility of linking foreign language examples, but it is not intuitive:

Language codes and short forms of project codes (en:, es:, w:, c:, etc.) are handled automatically and do not need to be added here...

Something does need to be added here, as creating a foreign language project code is non-intuitive; especially for non-wikimedia sister projects like Fandom. I am not advocating adding anything to the table, but I am proposing a new, non-tabular description section explaining how to form the correct Interwiki to a foreign language site, when you know the English one. For example, I needed the Spanish Fandom site for which we have prefix FinalFantasy and target url 'https://finalfantasy.fandom.com/wiki/$1' in the table.

So, I already know my target urls for the Spanish ones (examples: https://finalfantasy.fandom.com/es/wiki/Final_Fantasy_XIII, and https://finalfantasy.fandom.com/es/wiki/Serah_Farron) so how do we reverse engineer the proper prefix? As someone who can use prefixes in my sleep and has been involved in writing and documenting en:Template:Interlanguage link (and creating it at nl-wiki), I can tell you this was no easy task. The perhaps first choice, for someone familiar with such things, would be: es:FinalFantasy:Final Fantasy XIII. Whoops! No go. I see why; that is of course, the Spanish Wikipedia prefix, so wrong place for the 'es' bit.

I won't tell you how many guesses and permutations I tried, before I hit upon these as the correct formulations:

Switching prefixes to see if this works with another Fandom site, I tried these:

Result: there is no Indonesian site, so that 404s. Other than that, they all work, redirecting locally from Darth_Vader to Anakin_Skywalker (except the French Fandom, which unaccountably has no redirect, so soft 404s, but they do have the Anakin_Skywalker page, and Wookieepedia:fr:Anakin Skywalker goes to it).

This suggests a pattern for how to generate the proper Interwiki, given the existing table:

[[InterwikiPrefix:LangPrefix:ArticleTitle]]

where 'InterwikiPrefix' is col 1 in the table, and 'LangPrefix' is... not really sure; most likely the ISO 639-2 code (and likely not the Wiki code, which however overlaps 639-2 to a very great degree and as such may be indistinguishable from it in the much more limited Fandom language edition set).

I have not tried to generalize beyond the two Fandom sites to others, so don't know if it extends to them; guessing it does for some, and not for others. Depending how that breaks down, if there are a great many that do support language prefix and also a great many that do not, I would suggest having a third, very narrow column in the table, with a boolean, just saying Y/N it supports the lang prefix. If it is very lopsided (almost all do, or almost all do not) then I would suggest just keeping the two-column table, and use a named explanatory note[a] that would identify the minority case, i.e., "This prefix supports/does not support language edition prefixes; see [[#SectionName|§ SectionName]] for details.".

Can someone please add a documentation section to the page explaining lang prefix usage (note the overlap in table col header 'prefix' which might need a longer label), and also a third column, if warranted? Any explanation will also have to mention how in Wikimedia sister projects, the lang prefix goes first (or else, explain it as the default project prefix 'Wikipedia' being elided, just as 'Main:' is elided for article namespace, so the second element, namely the lang prefix, appears first when project is the default Wikipedia project). Thanks, Mathglot (talk) 22:52, 18 January 2026 (UTC)

@Mathglot: If you were to inspect the finalfantasy:es:Serah Farron link using your browser's web development tools, you would see that the URL is https://finalfantasy.fandom.com/wiki/es:Serah_Farron. That is to say, only the first colon-separated part is handled by Meta's MediaWiki instance; the rest are processed by the target site. This resolution logic also applies to our sites. For example, wikt:fr: links to https://en.wiktionary.org/wiki/fr: rather than https://fr.wiktionary.org/wiki/. You will have to check the target wiki's configurations and/or help pages (like this one by Fandom) to know how they deal with interlanguage links. NguoiDungKhongDinhDanh 23:24, 18 January 2026 (UTC)
Not done Per above. You might want to clarify this at help pages, such as mw:Help:Links § Interwiki links and Help:Interwiki link. NguoiDungKhongDinhDanh 01:26, 21 January 2026 (UTC)
This section was archived on a request by: NguoiDungKhongDinhDanh 01:26, 21 January 2026 (UTC)