Module:PublicUserPage

return { main = function(frame) local editors = frame.args.editors local src = mw.html.create("span") :css("display", "none") if editors then src:wikitext("FLAG::AUTHORIZEDONLY_USER_PAGE\n") editors = mw.text.split(editors, ',') for _,e in ipairs(editors) do               src:wikitext("FLAG::AUTHORIZEDUSER_" .. mw.text.trim(e) .. '\n') end else src:wikitext("FLAG:PUBLIC_USER_PAGE\n") end return tostring(src) end }