Module:Documentation/config: Difference between revisions

add a config value for the protection reason to use with Module:Protection banner
(per talk)
(add a config value for the protection reason to use with Module:Protection banner)
Line 17:
-- The name of the template that displays the protection icon (a padlock on enwiki).
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'
 
--[[