Content added Content deleted
(mirror latest WP changes) |
(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' |
|||
--[[ |
--[[ |
||
Line 49: | Line 54: | ||
-- cfg['sandbox-notice-diff-blurb']. |
-- cfg['sandbox-notice-diff-blurb']. |
||
--]] |
--]] |
||
cfg['sandbox-notice-pagetype-template'] = '[[ |
cfg['sandbox-notice-pagetype-template'] = '[[Wikipedia:Template test cases|template sandbox]] page' |
||
cfg['sandbox-notice-pagetype-module'] = '[[ |
cfg['sandbox-notice-pagetype-module'] = '[[Wikipedia:Template test cases|module sandbox]] page' |
||
cfg['sandbox-notice-pagetype-other'] = 'sandbox page' |
cfg['sandbox-notice-pagetype-other'] = 'sandbox page' |
||
Line 142: | Line 147: | ||
-- cfg['transcluded-from-blurb'] |
-- cfg['transcluded-from-blurb'] |
||
-- Notice displayed when the docs are transcluded from another page. $1 is a wikilink to that page. |
-- Notice displayed when the docs are transcluded from another page. $1 is a wikilink to that page. |
||
cfg['transcluded-from-blurb'] = 'The above [[ |
cfg['transcluded-from-blurb'] = 'The above [[Wikipedia:Template documentation|documentation]] is [[Wikipedia:Transclusion|transcluded]] from $1.' |
||
--[[ |
--[[ |
||
Line 150: | Line 155: | ||
-- display cfg['create-link-display']. |
-- display cfg['create-link-display']. |
||
--]] |
--]] |
||
cfg['create-module-doc-blurb'] = 'You might want to $1 a documentation page for this [[ |
cfg['create-module-doc-blurb'] = 'You might want to $1 a documentation page for this [[Wikipedia:Lua|Scribunto module]].' |
||
---------------------------------------------------------------------------------------------------- |
---------------------------------------------------------------------------------------------------- |
||
Line 350: | Line 355: | ||
-- cfg['print-blurb'] |
-- cfg['print-blurb'] |
||
-- Text to display if a /Print subpage exists. $1 is a link to the subpage with a display value of cfg['print-link-display']. |
-- Text to display if a /Print subpage exists. $1 is a link to the subpage with a display value of cfg['print-link-display']. |
||
cfg['print-blurb'] = 'A [[ |
cfg['print-blurb'] = 'A [[Help:Books/for experts#Improving the book layout|print version]] of this template exists at $1.' |
||
.. ' If you make a change to this template, please update the print version as well.' |
.. ' If you make a change to this template, please update the print version as well.' |
||
Line 410: | Line 415: | ||
-- 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'] = ' |
cfg['strange-usage-category'] = 'Wikipedia pages with strange ((documentation)) usage' |
||
--[[ |
--[[ |