This module contains definitions for all language family codes on Wiktionary. The entries are listed by their family code, which is usually an ISO-639 code, but there are also some exceptional codes. These are listed on Wiktionary:Families.
This module must not be imported using
require. Instead, it is imported like this:
local families = mw.loadData("Module:families")
This ensures that the data is only loaded once per page, rather than once for every module invocation like normal.
Every entry in the table must contain the following properties:
- A list of all the names that this language family is known by. The first name listed is always the "canonical" name, which is used in Wiktionary entries.
- The superfamily that the language family belongs to.