Module:Category handler/shared

From The Pinched Universe
Revision as of 16:03, 25 June 2024 by Hori (talk | contribs) (Created page with "local a={}function a.matchesBlacklist(b,c)for d,e in ipairs(c)do local f=mw.ustring.match(b,e)if f then return true end end;return false end;function a.getParamMappings(g)local h='Module:Namespace detect/data'if g then return mw.loadData(h).mappings else return require(h).mappings end end;function a.getNamespaceParameters(i,j)local k;if i.isTalkPage then k='talk'else k=mw.site.namespaces[i.namespace].name end;k=mw.ustring.lower(k)return j[k]or{}end;return a")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The documentation for this module is not intended to be hosted on this wiki.

However, you might be able to find it at one of the following locations:

local a={}function a.matchesBlacklist(b,c)for d,e in ipairs(c)do local f=mw.ustring.match(b,e)if f then return true end end;return false end;function a.getParamMappings(g)local h='Module:Namespace detect/data'if g then return mw.loadData(h).mappings else return require(h).mappings end end;function a.getNamespaceParameters(i,j)local k;if i.isTalkPage then k='talk'else k=mw.site.namespaces[i.namespace].name end;k=mw.ustring.lower(k)return j[k]or{}end;return a