Module:Documentation/config: Difference between revisions

Jump to navigation Jump to search
m
1 revision
m (1 revision)
 
m (1 revision)
 
(One intermediate revision by the same user not shown)
Line 14: Line 14:
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------


-- cfg['protection-template']
-- cfg['protection-reason-edit']
-- The name of the template that displays the protection icon (a padlock on enwiki).
-- The protection reason for edit-protected templates to pass to
cfg['protection-template'] = 'pp-template'
-- [[Module:Protection banner]].
 
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'}


--[[
--[[
14,061

edits

Navigation menu