Page MenuHomePhabricator

Investigate the case of custom namespaces
Open, MediumPublic


Some Wiktionaries have custom namespaces, and namespace that don't exist on all the Wiktionaries. How exactly do we deal with those?


To investigate:

  • Is it a problem if some namespaces are specific to one Wiktionary?
  • Do we store the links in Wikidata as well?
  • Can the Citations namespace be linked with Cognate?

Another similar problem: pages about a single punctuation character such as ":". They are solved with a custom URL: which is different in each language
What's the best way to provide centralized links for these?

Event Timeline

Cognate currently can't connect pages in custom namespaces that have different IDs on different wikis.
Wikidata doesn't care at all, I don't see how it is involved in the issue at all.

Indeed, Cognate can not deal with custom namespaces.
This will likely need an extra db table for the mappings of namespaces / ids between wikis.

Hey, I added another special cases: the pages about a punctuation character

English Wiktionary "Citations" namespace is the same name as Portuguese Wiktionary "Citações" namespace. They are guaranteed to have the same as the current entry (and technically all entries may have a page in that namespace), so I'm guessing maybe Cognate could do the work of linking them.

For example, these two pages could be linked by Cognate: