nrf for Norman
From User talk:Rua
OK, so if I want to edit Module:wikimedia_languages/data so that it knows that what we call "nrf" is what Wikipedia calls "nrm", can I write:
m["nrm"] = { wiktionary_code = "roa-nor", "nrf", }
or do I have to repeat the whole shebang and write:
m["nrm"] = { wiktionary_code = "roa-nor", } m["nrm"] = { wiktionary_code = "nrf", }
in full? I don't want to eliminate "roa-nor" yet, because there are still pages that use that.
Neither would work. The first would trigger an error, and in the second example the second definition will override the first.
Module:wikimedia languages/data defines the mapping from Wikimedia languages to Wiktionary ones. So it's what you'd use if you have a Wikimedia code and want to convert it to a local code. What you're doing is the reverse, which is handled by our regular language modules.