48,355
edits
No edit summary |
No edit summary |
||
| Line 838: | Line 838: | ||
-- Also add any L1s, since they terminate the preceding L2, but add a maintenance category since it's probably a mistake. | -- Also add any L1s, since they terminate the preceding L2, but add a maintenance category since it's probably a mistake. | ||
if level == 1 then | if level == 1 then | ||
new_cats["Pages with unwanted L1 headings"] = | new_cats["Pages with unwanted L1 headings"] = false | ||
end | end | ||
-- Check the heading is in the right order. | -- Check the heading is in the right order. | ||
| Line 846: | Line 846: | ||
string_sort(get_weight(prev), get_weight(name)) | string_sort(get_weight(prev), get_weight(name)) | ||
) then | ) then | ||
new_cats["Pages with language headings in the wrong order"] = | new_cats["Pages with language headings in the wrong order"] = false | ||
L2_wrong_order = true | L2_wrong_order = true | ||
end | end | ||
| Line 855: | Line 855: | ||
local name = template:get_name() | local name = template:get_name() | ||
if name == "DEFAULTSORT:" then | if name == "DEFAULTSORT:" then | ||
new_cats["Pages with DEFAULTSORT conflicts"] = | new_cats["Pages with DEFAULTSORT conflicts"] = false | ||
elseif name == "DISPLAYTITLE:" then | elseif name == "DISPLAYTITLE:" then | ||
new_cats["Pages with DISPLAYTITLE conflicts"] = | new_cats["Pages with DISPLAYTITLE conflicts"] = false | ||
end | end | ||
end | end | ||
| Line 869: | Line 869: | ||
handle_template(node) | handle_template(node) | ||
elseif node_class == "parameter" then | elseif node_class == "parameter" then | ||
new_cats["Pages with raw triple-brace template parameters"] = | new_cats["Pages with raw triple-brace template parameters"] = false | ||
end | end | ||
end | end | ||