Anonymous user
Module:Category handler/shared: Difference between revisions
return a copy of the params table so that it doesn't contain a metatable
(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
|