Module:Category handler/config: Difference between revisions

m
Protected "Module:Category handler/config": High-risk Lua module ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite))
pt>CaiusSPQR
No edit summary
m (Protected "Module:Category handler/config": High-risk Lua module ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite)))
Line 41:
-- false Categorisation is suppressed
-- nil Categorisation is allowed
nocat = 'semcatnocat',
categories = 'categoriacategories',
-- The parameter name for the legacy "category2" parameter. This skips the
Line 48:
-- categorisation if present but equal to anything other than
-- cfg.category2Yes or cfg.category2Negative.
category2 = 'categoria2category2',
-- cfg.subpage is the parameter name to specify how to behave on subpages.
subpage = 'subpáginasubpage',
-- The parameter for data to return in all namespaces.
all = 'todosall',
-- The parameter name for data to return if no data is specified for the
-- namespace that is detected.
other = 'outroother',
-- The parameter name used to specify a page other than the current page;
-- used for testing and demonstration.
demopage = 'páginapage',
}
 
Line 107:
--------------------------------------------------------------------------------
 
cfg.wrappers = {'PredefiniçãoTemplate:Category handler', 'Predefinição:Cat handler'}
 
--------------------------------------------------------------------------------
2

edits