Jump to content

Module:Documentation/config and Module:Documentation/config/sandbox: Difference between pages

(Difference between pages)
Page 1
Page 2
m Text replacement - "BattleTechWiki" to "BattleIntelligence"
 
imported>Deadfire
Creation (as this is needed)
 
Line 42: Line 42:
-- cfg['sandbox-notice-diff-blurb'].
-- cfg['sandbox-notice-diff-blurb'].
--]]
--]]
cfg['sandbox-notice-pagetype-template'] = '[[BattleIntelligence:Template test cases|template sandbox]] page'
cfg['sandbox-notice-pagetype-template'] = '[[Wikipedia:Template test cases|template sandbox]] page'
cfg['sandbox-notice-pagetype-module'] = '[[BattleIntelligence:Template test cases|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-testcases-blurb']
-- cfg['sandbox-notice-warning-blurb']
-- cfg['sandbox-notice-testcases-link-display']
-- cfg['sandbox-notice-testcases-link-display']
-- cfg['sandbox-notice-testcases-run-blurb']
-- cfg['sandbox-notice-testcases-run-link-display']
-- cfg['sandbox-notice-testcases-run-link-display']
-- cfg['sandbox-notice-testcases-blurb'] is a sentence notifying the user that there is a test cases page
-- cfg['sandbox-notice-warning-blurb'] is a sentence notifying the user that they should make changes
-- corresponding to this sandbox that they can edit. $1 is a link to the test cases page.
-- on the current sandbox, as well as pointing to the associated testcases page.
-- cfg['sandbox-notice-testcases-link-display'] is the display value for that link.
-- cfg['sandbox-notice-testcases-link-display'] is the display value for the testcases link.
-- cfg['sandbox-notice-testcases-run-blurb'] is a sentence notifying the user that there is a test cases page
-- corresponding to this sandbox that they can edit, along with a link to run it. $1 is a link to the test
-- cases page, and $2 is a link to the page to run it.
-- 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-testcases-blurb'] = 'See also the companion subpage for $1.'
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'] = 'test cases'
cfg['sandbox-notice-testcases-link-display'] = 'testcases'
cfg['sandbox-notice-testcases-run-blurb'] = 'See also the companion subpage for $1 ($2).'
cfg['sandbox-notice-testcases-run-link-display'] = 'run'
cfg['sandbox-notice-testcases-run-link-display'] = 'run'


-- cfg['sandbox-category'] - A category to add to all template sandboxes.
-- cfg['sandbox-category']
-- cfg['module-sandbox-category'] - A category to add to all module sandboxes.
-- A category to add to all template sandboxes.
-- cfg['module-sandbox-category'] - A category to add to all sandboxe not in templates or modules.
cfg['sandbox-category'] = 'Template sandboxes'
cfg['sandbox-category'] = 'Template sandboxes'
cfg['module-sandbox-category'] = 'Module sandboxes'
cfg['other-sandbox-category'] = 'Sandboxes outside of template or module namespace'


----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
Line 139: 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 [[BattleIntelligence:Template documentation|documentation]] is [[Help:Transclusion|transcluded]] from $1.'
cfg['transcluded-from-blurb'] = 'The above [[Wikipedia:Template documentation|documentation]] is [[Help:Transclusion|transcluded]] from $1.'


--[[
--[[
Line 147: 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 [[BattleIntelligence:Lua|Scribunto module]].'
cfg['create-module-doc-blurb'] = 'You might want to $1 a documentation page for this [[Wikipedia:Lua|Scribunto module]].'


----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
Line 365: 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 [[w:Wikipedia:Village pump (technical)/Archive 117]]
-- 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 397: 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'] = 'Pages with strange ((documentation)) usage'
cfg['strange-usage-category'] = 'Wikipedia pages with strange ((documentation)) usage'


--[[
--[[