Zum Inhalt springen

Modul:Documentation/config: Unterschied zwischen den Versionen

syncing with sandbox (introduces testcases-run-link-display for use on module documentation pages)
K (1 Version importiert)
dewiki>Andy M. Wang
(syncing with sandbox (introduces testcases-run-link-display for use on module documentation pages))
Zeile 13: Zeile 13:
-- Protection template configuration
-- Protection template configuration
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
-- cfg['protection-template']
-- The name of the template that displays the protection icon (a padlock on enwiki).
cfg['protection-template'] = 'pp-template'


-- cfg['protection-reason-edit']
-- cfg['protection-reason-edit']
Zeile 22: Zeile 18:
-- [[Module:Protection banner]].
-- [[Module:Protection banner]].
cfg['protection-reason-edit'] = 'template'
cfg['protection-reason-edit'] = 'template'
--[[
-- cfg['protection-template-args']
-- Any arguments to send to the protection template. This should be a Lua table.
-- For example, if the protection template is "pp-template", and the wikitext template invocation
-- looks like "{{pp-template|docusage=yes}}", then this table should look like "{docusage = 'yes'}".
--]]
cfg['protection-template-args'] = {docusage = 'yes'}


--[[
--[[
Zeile 191: Zeile 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:
Zeile 272: Zeile 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']
Anonymer Benutzer
Cookies helfen uns bei der Bereitstellung von Android Wiki. Durch die Nutzung von Android Wiki erklärst du dich damit einverstanden, dass wir Cookies speichern.