Anonymous user
Module:Category handler: Difference between revisions
pass through page parameter to Module:Namespace detect, tweak comments a bit
(add the rest of the features, improve the comments) |
(pass through page parameter to Module:Namespace detect, tweak comments a bit) |
||
Line 62:
-- The categorisation blacklist. Pages that match Lua patterns in this
-- list will not be categorised unless any of the
-- set: "nocat=false", "categories=yes", or "category2=yes".
-- If the namespace name has a space in, it must be written with an
-- underscore, e.g. "Wikipedia_talk". Other parts of the title can have
Line 185 ⟶ 186:
-- [[Module:Namespace detect]], to save us from having to rewrite the
-- code.
local pageObject = NamespaceDetect.getPageObject( args[cfg.page] )
local mappings = NamespaceDetect.getParamMappings()
|