Module:Category handler/shared: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(add a getNamespaceParameters function) |
(return a copy of the params table so that it doesn't contain a metatable) |
||
Line 19:
local mappingsKey = mw.site.namespaces[titleObj.namespace].name
mappingsKey = mw.ustring.lower(mappingsKey)
local params = {}
for i, v in ipairs(origParams) do
params[i] = v
end
return params
end
|