Module:Documentation/config: Difference between revisions

Jump to navigation Jump to search
Kuhlau (talk | contribs)
No edit summary
Kuhlau (talk | contribs)
from https://dev.fandom.com/wiki/Module:Documentation/config since it is no longer being loaded in
 
Line 81: Line 81:
cfg['sandbox-category'] = 'Template Drafts'
cfg['sandbox-category'] = 'Template Drafts'
cfg['sandbox-module-category'] = 'Module Drafts'
cfg['sandbox-module-category'] = 'Module Drafts'
--[[
-- cfg['sandbox-notice-testcases-blurb']
-- cfg['sandbox-notice-testcases-link-display']
-- cfg['sandbox-notice-testcases-run-blurb']
-- 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
-- corresponding to this sandbox that they can edit. $1 is a link to the test cases page.
-- cfg['sandbox-notice-testcases-link-display'] is the display value for that 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
-- cases.
--]]
cfg['sandbox-notice-testcases-show'] = false
cfg['sandbox-notice-testcases-blurb'] = 'See also the companion subpage for $1.'
cfg['sandbox-notice-testcases-link-display'] = 'test cases'
cfg['sandbox-notice-testcases-run-blurb'] = 'See also the companion subpage for $1 ($2).'
cfg['sandbox-notice-testcases-run-link-display'] = 'run'
--- A category to add to all template sandboxes.
--  @property {string} cfg['sandbox-category']
cfg['sandbox-category'] = 'Template sandboxes'


-- -------------------------------------------------------------------------------------------------
-- -------------------------------------------------------------------------------------------------
Line 125: Line 149:
--  @property {string} cfg['mirror-link-preload']
--  @property {string} cfg['mirror-link-preload']
cfg['mirror-link-preload'] = 'Template:Documentation/mirror'
cfg['mirror-link-preload'] = 'Template:Documentation/mirror'
-- -------------------------------------------------------------------------------------------------
-- Test cases link configuration
-- -------------------------------------------------------------------------------------------------
--- The name of the template subpage typically used for test cases.
--  @property {string} cfg['testcases-subpage']
cfg['testcases-subpage'] = 'testcases'
--- Preload file for template test cases pages.
--  @property {string} cfg['template-testcases-preload']
cfg['template-testcases-preload'] = 'Template:Documentation/preload-testcases'
--- Preload file for Lua module test cases pages.
--  @property {string} cfg['module-testcases-preload']
cfg['module-testcases-preload'] = 'Template:Documentation/preload-module-testcases'


-- -------------------------------------------------------------------------------------------------
-- -------------------------------------------------------------------------------------------------