Module:Documentation/config: Difference between revisions
From Video Credit Archive
Content deleted Content added
wikpedia>Ahecht add cfg['mirror-link-preload'] = 'Template:Documentation/mirror' |
wikpedia>Andy M. Wang syncing with sandbox (introduces testcases-run-link-display for use on module documentation pages) |
||
Line 179: | Line 179: | ||
-- $2 is a link to the test cases page. If the test cases page exists, it is in the following format: |
-- $2 is a link to the test cases page. If the test cases page exists, it is in the following format: |
||
-- |
-- |
||
-- cfg['testcases-link-display'] (cfg['testcases-edit-link-display']) |
-- cfg['testcases-link-display'] (cfg['testcases-edit-link-display'] | cfg['testcases-run-link-display']) |
||
-- |
-- |
||
-- If the test cases page doesn't exist, it is in the format: |
-- If the test cases page doesn't exist, it is in the format: |
||
Line 260: | Line 260: | ||
-- The text to display for test cases "edit" links. |
-- The text to display for test cases "edit" links. |
||
cfg['testcases-edit-link-display'] = 'edit' |
cfg['testcases-edit-link-display'] = 'edit' |
||
-- cfg['testcases-run-link-display'] |
|||
-- The text to display for test cases "run" links. |
|||
cfg['testcases-run-link-display'] = 'run' |
|||
-- cfg['testcases-create-link-display'] |
-- cfg['testcases-create-link-display'] |