3,515
edits
![]() | We're back! Sorry, bad combo of sickness, funeral and a month-long trip abroad. The site is back now. ![]() |
(I’m just gonna disable this whole conditional until someone can figure out what the problem with hasNormalizationFixes is.) |
Tag: Undo |
||
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 | |||
local composed_head = toNFC(head.term) | |||
if head.sc:fixDiscouragedSequences(composed_head) ~= composed_head then | |||
insert(data.whole_page_categories, "Pages using discouraged character sequences") | |||
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() |