Modul:Documentation/config: Unterschied zwischen den Versionen
Modul:Documentation/config (bearbeiten)
Version vom 7. September 2015, 17:32 Uhr
, 7. September 2015keine Bearbeitungszusammenfassung
dewiki>Ahecht (add cfg['mirror-link-preload'] = 'Template:Documentation/mirror') |
dewiki>Paladox Keine Bearbeitungszusammenfassung |
||
Zeile 13: | Zeile 13: | ||
-- Protection template configuration | -- Protection template configuration | ||
---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ||
-- cfg['protection-template'] | |||
-- The name of the template that displays the protection icon (a padlock on enwiki). | |||
cfg['protection-template'] = 'pp-template' | |||
-- cfg['protection-reason-edit'] | -- cfg['protection-reason-edit'] | ||
Zeile 18: | Zeile 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'} | |||
--[[ | --[[ |