Module:Documentation/config: Difference between revisions
From WikiOasis Meta
More actions
mediawiki>Uzume m consistent ns refs |
m 19 revisions imported |
||
| (18 intermediate revisions by 11 users not shown) | |||
| Line 23: | Line 23: | ||
-- cfg['protection-template'] | -- cfg['protection-template'] | ||
-- 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'] = ' | cfg['protection-template'] = 'PP-template' | ||
-- cfg['protection-reason-edit'] | -- cfg['protection-reason-edit'] | ||
| Line 51: | Line 51: | ||
-- cfg['sandbox-notice-image'] | -- cfg['sandbox-notice-image'] | ||
-- The image displayed in the sandbox notice. | -- The image displayed in the sandbox notice. | ||
cfg['sandbox-notice-image'] = '[[ | cfg['sandbox-notice-image'] = '[[Image:Edit In Sandbox Icon - Color.svg|40px|alt=|link=]]' | ||
--[[ | --[[ | ||
| Line 374: | Line 374: | ||
-- Set to true to enable output of cfg['strange-usage-category'] if the module is used on a /doc subpage | -- Set to true to enable output of cfg['strange-usage-category'] if the module is used on a /doc subpage | ||
-- or a /testcases subpage. This should be a boolean value (either true or false). | -- or a /testcases subpage. This should be a boolean value (either true or false). | ||
cfg['display-strange-usage-category'] = | cfg['display-strange-usage-category'] = true | ||
-- cfg['strange-usage-category'] | -- cfg['strange-usage-category'] | ||
-- Category to output if cfg['display-strange-usage-category'] is set to true and the module is used on a | -- Category to output if cfg['display-strange-usage-category'] is set to true and the module is used on a | ||
-- /doc subpage or a /testcases subpage. | -- /doc subpage or a /testcases subpage. | ||
cfg['strange-usage-category'] = 'Pages with strange | cfg['strange-usage-category'] = 'Pages with strange documentation template usage' | ||
--[[ | --[[ | ||