Module:headword/page: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Created page with "local require = require local m_str_utils = require("Module:string utilities") local mw = mw local string = string local table = table local ustring = mw.ustring local concat = table.concat local decode_entities = m_str_utils.decode_entities local encode_entities = m_str_utils.encode_entities local find = string.find local get_category = require("Module:maintenance category").get_category local get_etym_lang = require("Module:etymology languages").getByCanonicalName lo...")
 
No edit summary
 
Line 639: Line 639:
data.L2_list = L2_list
data.L2_list = L2_list
data.L2_sections = L2_sections
data.L2_sections = L2_sections
 
if defaultsort then
insert(cats, get_category("Pages with DEFAULTSORT conflicts"))
end
if displaytitle then
insert(cats, get_category("Pages with DISPLAYTITLE conflicts"))
end
if page_has_L1 then
insert(cats, get_category("Pages with unwanted L1 headings"))
end
if L2_wrong_order then
insert(cats, get_category("Pages with language headings in the wrong order"))
end
if L2_nonstandard then
insert(cats, get_category("Pages with nonstandard language headings"))
end
if page_has_arg then
insert(cats, get_category("Pages with raw triple-brace template arguments"))
end
end
end


Line 787: Line 769:
data.wikitext_topic_cat = wikitext_topic_cat
data.wikitext_topic_cat = wikitext_topic_cat
data.wikitext_langname_cat = wikitext_langname_cat
data.wikitext_langname_cat = wikitext_langname_cat
if raw_sortkey then
insert(cats, get_category("Pages with raw sortkeys"))
end
end
end


Navigation menu