Module:Documentation/config: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(per talk) |
(add a config value for the protection reason to use with Module:Protection banner) |
||
Line 17: | Line 17: | ||
-- The name of the template that displays the protection icon (a padlock on enwiki). |
-- The name of the template that displays the protection icon (a padlock on enwiki). |
||
cfg['protection-template'] = 'pp-template' |
cfg['protection-template'] = 'pp-template' |
||
-- cfg['protection-reason-edit'] |
|||
-- The protection reason for edit-protected templates to pass to |
|||
-- [[Module:Protection banner]]. |
|||
cfg['protection-reason-edit'] = 'template' |
|||
--[[ |
--[[ |