Content deleted Content added
debugging = true |
Shonebrooks (talk | contribs) m I corrected the spelling of "Canadian." WP:TYPO |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 93:
local function publishDebugLog()
if not debugging then
return "NOT DEBUGGING\n"
end
return "==Debugging ==\n\n" .. debugmsg .. "\n== Output ==\n"
Line 222:
for i, aProvince in ipairs(provinceList) do
debugLog(4, "No. " .. tostring(i) .. ": [" .. aProvince .. "]")
myCatName =
myResolvedCatName = ResolveCategoryRedirect(makeCatName(aProvince, title_prefix, title_suffix))
debugLog(5, myCatName .. "--> " ..myResolvedCatName)
table.insert(list_args, makeCatLink(myCatName, aProvince))
end
Line 427 ⟶ 429:
-- some error parsing the title, so don't proceed to output
local trackingCatInvalid = "[[Category:" .. templateName .. " on invalid category]]"
return makeErrorMsg('the name of this category does not include a valid
end
|