Content deleted Content added
HouseBlaster (talk | contribs) try this? |
HouseBlaster (talk | contribs) test |
||
Line 8:
local standardSet = mw.loadJsonData("Template:Contentious topics/Standard set.json")
local categoryDatabase = mw.loadJsonData("Template:Contentious topics/Category database.json")
local topicAliases = mw.loadJsonData("Template:Contentious topics/Aliases.json")
local function collectTopics(args, sectionParameter)
Line 19 ⟶ 20:
if value then
value = mw.text.trim(value)
value = topicAliases[value] or value
if value ~= '' and not seen[value] then
local applicableSection = args[value .. '-section'] or sectionParameter
Line 130 ⟶ 132:
for _, restriction in ipairs(always) do
-- Allow disabling these restrictions (via |1RR=no or similar)
if
restrictionFlags[restriction] = true
else
|