--v1.0local p = local yesno = require("Module:yesno")
function p.main(frame) local rawpages = local nvalid = 0 local namespace = frame.args.ns for i, v in ipairs(frame:getParent.args) do if (v ~= nil) then local thisArg = mw.text.trim(v) if (thisArg ~= "") then local title = mw.title.new(thisArg, namespace) if title ~= nil and title.exists then table.insert(rawpages, title.fullText) nvalid = nvalid + 1 end end end end if (nvalid
nil then namespace = "page" elseif namespace:sub(-1)
return p