Difference between revisions of "Module:Documentation/config"
Module:Documentation/config (view source)
Revision as of 03:20, 15 January 2014
, 03:20, 15 January 2014split experimentBlurb into two separate messages so that we can avoid guessing whether languages have possessive forms or not
>Mr. Stradivarius (add cfg.titleArgError) |
>Mr. Stradivarius (split experimentBlurb into two separate messages so that we can avoid guessing whether languages have possessive forms or not) |
||
Line 152: | Line 152: | ||
---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ||
-- cfg. | -- cfg.experimentBlurbTemplate | ||
-- | -- cfg.experimentBlurbModule | ||
-- The experiment blurb is the text inviting editors to experiment in sandbox and test cases pages. | |||
-- like this: | -- It is only shown in the template and module namespaces. With the default English settings, it | ||
-- might look like this: | |||
-- | -- | ||
-- Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. | -- Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. | ||
-- | -- | ||
-- In this example, "sandbox", "edit", "diff", "testcases", and "edit" would all be links. | -- In this example, "sandbox", "edit", "diff", "testcases", and "edit" would all be links. | ||
-- | |||
-- There are two versions, cfg.experimentBlurbTemplate and cfg.experimentBlurbModule, depending | |||
-- on what namespace we are in. | |||
-- | -- | ||
-- Parameters: | -- Parameters: | ||
-- | -- | ||
-- $1 | -- $1 is a link to the sandbox page. If the sandbox exists, it is in the following format: | ||
-- | -- | ||
-- cfg.sandboxLinkDisplay (cfg.sandboxEditLinkDisplay | cfg.compareLinkDisplay) | -- cfg.sandboxLinkDisplay (cfg.sandboxEditLinkDisplay | cfg.compareLinkDisplay) | ||
Line 178: | Line 179: | ||
-- loads a default edit summary of cfg.mirrorEditSummary. | -- loads a default edit summary of cfg.mirrorEditSummary. | ||
-- | -- | ||
-- $ | -- $2 is a link to the test cases page. If the test cases page exists, it is in the following format: | ||
-- | -- | ||
-- cfg.testcasesLinkDisplay (cfg.testcasesEditLinkDisplay) | -- cfg.testcasesLinkDisplay (cfg.testcasesEditLinkDisplay) | ||
Line 189: | Line 190: | ||
-- page with cfg.templateTestcasesPreload or cfg.moduleTestcasesPreload, depending on the current | -- page with cfg.templateTestcasesPreload or cfg.moduleTestcasesPreload, depending on the current | ||
-- namespace. | -- namespace. | ||
cfg. | cfg.experimentBlurbTemplate = "Editors can experiment in this template's $1 and $2 pages." | ||
cfg.experimentBlurbModule = "Editors can experiment in this module's $1 and $2 pages." | |||
cfg. | |||
---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |