Module:headword: Difference between revisions

No edit summary
I’m just gonna disable this whole conditional until someone can figure out what the problem with hasNormalizationFixes is.
Line 729: Line 729:


-- If using a discouraged character sequence, add to maintenance category.
-- If using a discouraged character sequence, add to maintenance category.
if head.sc:hasNormalizationFixes() == true then
-- if head.sc:hasNormalizationFixes() == true then
local composed_head = toNFC(head.term)
-- local composed_head = toNFC(head.term)
if head.sc:fixDiscouragedSequences(composed_head) ~= composed_head then
-- if head.sc:fixDiscouragedSequences(composed_head) ~= composed_head then
insert(data.whole_page_categories, "Pages using discouraged character sequences")
-- insert(data.whole_page_categories, "Pages using discouraged character sequences")
end
-- end
end
-- end


any_script_has_spaces = any_script_has_spaces or head.sc:hasSpaces()
any_script_has_spaces = any_script_has_spaces or head.sc:hasSpaces()