Difference between pages "Module:Documentation/config" and "Module:Documentation/config/sandbox"
(Difference between pages)
Tag: Undo |
(Creation (as this is needed)) |
||
Line 42: | Line 42: | ||
-- cfg['sandbox-notice-diff-blurb']. | -- cfg['sandbox-notice-diff-blurb']. | ||
--]] | --]] | ||
− | cfg['sandbox-notice-pagetype-template'] = 'sandbox page' | + | cfg['sandbox-notice-pagetype-template'] = '[[Wikipedia:Template test cases|template sandbox]] page' |
− | cfg['sandbox-notice-pagetype-module'] = 'sandbox page' | + | 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 63: | Line 63: | ||
--[[ | --[[ | ||
− | -- cfg['sandbox-notice- | + | -- cfg['sandbox-notice-warning-blurb'] |
-- cfg['sandbox-notice-testcases-link-display'] | -- cfg['sandbox-notice-testcases-link-display'] | ||
− | |||
-- cfg['sandbox-notice-testcases-run-link-display'] | -- cfg['sandbox-notice-testcases-run-link-display'] | ||
− | -- cfg['sandbox-notice- | + | -- cfg['sandbox-notice-warning-blurb'] is a sentence notifying the user that they should make changes |
− | -- | + | -- on the current sandbox, as well as pointing to the associated testcases page. |
− | -- cfg['sandbox-notice-testcases-link-display'] is the display value for | + | -- cfg['sandbox-notice-testcases-link-display'] is the display value for the testcases link. |
− | |||
− | |||
− | |||
-- cfg['sandbox-notice-testcases-run-link-display'] is the display value for the link to run the test | -- cfg['sandbox-notice-testcases-run-link-display'] is the display value for the link to run the test | ||
− | -- cases. | + | -- cases, if possible. |
--]] | --]] | ||
− | cfg['sandbox-notice- | + | cfg['sandbox-notice-warning-blurb'] = 'To avoid major disruption and server load, any changes should be developed here in the sandbox and tested on the $1 page or your own user subpage.' |
− | cfg['sandbox-notice-testcases-link-display'] = ' | + | cfg['sandbox-notice-testcases-link-display'] = 'testcases' |
− | |||
cfg['sandbox-notice-testcases-run-link-display'] = 'run' | cfg['sandbox-notice-testcases-run-link-display'] = 'run' | ||
Line 91: | Line 86: | ||
-- cfg['documentation-icon-wikitext'] | -- cfg['documentation-icon-wikitext'] | ||
-- The wikitext for the icon shown at the top of the template. | -- The wikitext for the icon shown at the top of the template. | ||
− | cfg['documentation-icon-wikitext'] = '[[File: | + | cfg['documentation-icon-wikitext'] = '[[File:Test Template Info-Icon - Version (2).svg|50px|link=|alt=]]' |
-- cfg['template-namespace-heading'] | -- cfg['template-namespace-heading'] | ||
Line 135: | Line 130: | ||
-- 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 documentation is transcluded from $1.' | + | cfg['transcluded-from-blurb'] = 'The above [[Wikipedia:Template documentation|documentation]] is [[Help:Transclusion|transcluded]] from $1.' |
--[[ | --[[ | ||
Line 143: | Line 138: | ||
-- 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 361: | Line 356: | ||
-- cfg['start-box-link-classes'] | -- cfg['start-box-link-classes'] | ||
-- Classes used for the [view][edit][history] or [create] links in the start box. | -- Classes used for the [view][edit][history] or [create] links in the start box. | ||
+ | -- mw-editsection-like is per [[Wikipedia:Village pump (technical)/Archive 117]] | ||
cfg['start-box-link-classes'] = 'mw-editsection-like plainlinks' | cfg['start-box-link-classes'] = 'mw-editsection-like plainlinks' | ||
Line 392: | Line 388: | ||
-- 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' |
--[[ | --[[ |