Module:category tree/families: Difference between revisions

No edit summary
m top: clean up
 
(One intermediate revision by the same user not shown)
Line 212: Line 212:
["qfa-dis"] = "These are languages where there is no consensus concerning which family, if any, they belong to.",
["qfa-dis"] = "These are languages where there is no consensus concerning which family, if any, they belong to.",
["qfa-iso"] = "These are languages where there is general agreement that the language has no known relatives.",
["qfa-iso"] = "These are languages where there is general agreement that the language has no known relatives.",
["qfa-mix"] = "A [[mixed language]] is a language which is composed of two different languages.",
["qfa-mix"] = "A [[wikt:mixed language|mixed language]] is a language which is composed of two different languages.",
["qfa-unc"] = "These are languages that cannot be confidently assigned to a family due to lack of sufficient linguistic data. " ..
["qfa-unc"] = "These are languages that cannot be confidently assigned to a family due to lack of sufficient linguistic data. " ..
"They are also commonly called {{w|unclassified language|unclassified languages}}, but this is ambiguous between " ..
"They are also commonly called {{w|unclassified language|unclassified languages}}, but this is ambiguous between " ..
Line 274: Line 274:
if family_is_not_a_family(family) then
if family_is_not_a_family(family) then
additional_preface = additional_preface ..
additional_preface = additional_preface ..
"This is a pseudo-family, used for grouping purposes but not forming a linguistically valid [[clade]] " ..
"This is a pseudo-family, used for grouping purposes but not forming a linguistically valid [[wikt:clade|clade]] " ..
"(i.e. a set of linguistically related languages descending from a common parent).\n\n" ..
"(i.e. a set of linguistically related languages descending from a common parent).\n\n" ..
"Information about this family:\n\n"
"Information about this family:\n\n"
Line 317: Line 317:
local parents = {
local parents = {
{name = first_parent, sort = first_parent_sort_key},
{name = first_parent, sort = first_parent_sort_key},
{name = "All language families", sort = parent_sort_key},
{name = "Language families", sort = parent_sort_key},
}
}
if parent_fam and parent_fam:getCode() == "sgn" then
if parent_fam and parent_fam:getCode() == "sgn" then
insert(parents, "All sign languages")
insert(parents, "Sign languages")
end
end
if family_is_papuan(family) then
if family_is_papuan(family) then