Difference between revisions of "Module:WCNA 2023 Session Categories"
Jump to navigation
Jump to search
SuperHamster (talk | contribs) (Making module more dynamic, based off provided table of possible categories) |
SuperHamster (talk | contribs) (+Credibility / Mis and Disinformation (WikiCred)) |
||
Line 14: | Line 14: | ||
"Research / Science / Medicine", |
"Research / Science / Medicine", |
||
"Technology", |
"Technology", |
||
− | "Wild Ideas" |
+ | "Wild Ideas", |
+ | "Credibility / Mis and Disinformation (WikiCred)" |
||
} |
} |
||
Revision as of 04:45, 28 June 2023
Documentation for this module may be created at Module:WCNA 2023 Session Categories/doc
local p = {}
local category_base = "[[Category:Submissions/2023/"
local categories = {
"Recent Changes",
"Community Initiatives",
"Education",
"Equity / Inclusion / Community Health",
"GLAM / Heritage / Culture",
"Governance",
"Languages",
"Legal / Advocacy / Risks",
"Open Data",
"Research / Science / Medicine",
"Technology",
"Wild Ideas",
"Credibility / Mis and Disinformation (WikiCred)"
}
function p.main( frame )
output = ""
for index, value in ipairs(categories) do
if string.match(frame.args["1"], value) then
output = output .. category_base .. string.gsub(value, " / ", ", ") .. "]]"
end
end
return output
end
return p