Module:Documentation/config: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 22: | Line 22: | ||
-- [[Module:Protection banner]]. | -- [[Module:Protection banner]]. | ||
cfg['protection-reason-edit'] = 'template' | cfg['protection-reason-edit'] = 'template' | ||
--[[ | |||
-- cfg['protection-template-args'] | |||
-- Any arguments to send to the protection template. This should be a Lua table. | |||
-- For example, if the protection template is "pp-template", and the wikitext template invocation | |||
-- looks like "{{pp-template|docusage=yes}}", then this table should look like "{docusage = 'yes'}". | |||
--]] | |||
cfg['protection-template-args'] = {docusage = 'yes'} | |||
--[[ | --[[ |