维基百科 XML 转储,从哪里获得消歧指令的翻译?

Wikipedia XML Dump, where to get translations for disambiguation directives?

在维基百科 XML 转储文章中,消除歧义的文章在其内容中的某处包含指令 {{disambiguation}}

这对于英文维基百科来说很简单。 然而,此指令会因语言而异,例如在西班牙语维基百科中,一篇文章将包含 {{desambiguación}}.

我尝试查询维基百科元数据 API。特别是魔法词:

https://es.wikipedia.org/w/api.php?action=query&meta=siteinfo&siprop=magicwords&format=json

返回的列表包括诸如 __DISAMBIGUACION____DISAMBIG__ 之类的内容,但这些内容似乎没有出现在 XML 转储中。 disambiguacion 肯定不在该列表中。

有什么提示吗?是否有任何端点或列表可以从中获取其他语言(如德语、意大利语等)的指令。

指令{{disambiguation}} is Wikimedia Template which is used to mark some page as a disambiguation page in the English Wikipedia. This template uses within itself the magic word __DISAMBIG__ and is connected with the other wikis templates by Wikidata Item (Q6148868). You can access this item by MediaWiki API:

https://www.wikidata.org/w/api.php?action=wbgetentities&ids=Q6148868&props=sitelinks

您可以看到以下模板:

  • 开关是消歧
  • dewiki 是概念澄清
  • itwiki 12 月
  • ruwiki 是描述
  • fawiki 是 Abham Zadaei
  • 等等……