Module:Documentation/config: Difference between revisions
Appearance
m 1 revision imported |
Dat Hack3r (talk | contribs) m I FINALLY fixed that elusive broken link to Wikipedia in the documentation template! 🥳🎉 |
||
| (One intermediate revision by one other user not shown) | |||
| Line 42: | Line 42: | ||
-- cfg['sandbox-notice-diff-blurb']. | -- cfg['sandbox-notice-diff-blurb']. | ||
--]] | --]] | ||
cfg['sandbox-notice-pagetype-template'] = '[[Wikipedia:Template test cases|template sandbox]] page' | cfg['sandbox-notice-pagetype-template'] = '[[Wikipedia:Wikipedia:Template test cases|template sandbox]] page' | ||
cfg['sandbox-notice-pagetype-module'] = '[[Wikipedia:Template test cases|module sandbox]] page' | cfg['sandbox-notice-pagetype-module'] = '[[Wikipedia:Wikipedia:Template test cases|module sandbox]] page' | ||
cfg['sandbox-notice-pagetype-other'] = 'sandbox page' | cfg['sandbox-notice-pagetype-other'] = 'sandbox page' | ||
| Line 135: | Line 135: | ||
-- 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 [[Wikipedia:Template documentation|documentation]] is [[ | cfg['transcluded-from-blurb'] = 'The above [[Wikipedia:Wikipedia:Template documentation|documentation]] is [[MW:Transclusion|transcluded]] from $1.' | ||
--[[ | --[[ | ||
| Line 143: | Line 143: | ||
-- 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 [[Wikipedia:Lua|Scribunto module]].' | cfg['create-module-doc-blurb'] = 'You might want to $1 a documentation page for this [[Wikipedia:Wikipedia:Lua|Scribunto module]].' | ||
---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ||
| Line 361: | Line 361: | ||
-- 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]] | -- mw-editsection-like is per [[Wikipedia: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 393: | Line 393: | ||
-- 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'] = 'Wiki pages with strange ((documentation)) usage' | ||
--[[ | --[[ | ||