Module:Documentation/config: Difference between revisions

split experimentBlurb into two separate messages so that we can avoid guessing whether languages have possessive forms or not
(add cfg.titleArgError)
(split experimentBlurb into two separate messages so that we can avoid guessing whether languages have possessive forms or not)
Line 152:
----------------------------------------------------------------------------------------------------
 
-- cfg.experimentBlurbexperimentBlurbTemplate
-- cfg.experimentBlurbModule
-- ThisThe experiment blurb is the text inviting editors to experiment in sandbox and test cases pages. It is only
-- It is only shown in the template and module namespaces. With the default English settings, it might look
-- might look like this:
--
-- 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.
--
-- There are two versions, cfg.experimentBlurbTemplate and cfg.experimentBlurbModule, depending
-- cfg.modulePossessive depending on what namespace we are in.
--
-- Parameters:
--
-- $1 is a link to the possessivesandbox namepage. forIf "module"the orsandbox "template"exists, setit byis cfg.templatePossessivein the following orformat:
-- cfg.modulePossessive depending on what namespace we are in.
--
-- $2 is a link to the sandbox page. If the sandbox exists, it is in the following format:
--
-- cfg.sandboxLinkDisplay (cfg.sandboxEditLinkDisplay | cfg.compareLinkDisplay)
Line 178 ⟶ 179:
-- loads a default edit summary of cfg.mirrorEditSummary.
--
-- $32 is a link to the test cases page. If the test cases page exists, it is in the following format:
--
-- cfg.testcasesLinkDisplay (cfg.testcasesEditLinkDisplay)
Line 189 ⟶ 190:
-- page with cfg.templateTestcasesPreload or cfg.moduleTestcasesPreload, depending on the current
-- namespace.
cfg.experimentBlurbexperimentBlurbTemplate = '"Editors can experiment in this template's $1 $2 and $32 pages.'"
cfg.experimentBlurbModule = "Editors can experiment in this module's $1 and $2 pages."
 
-- cfg.templatePossessive
-- Possessive case for "template".
cfg.templatePossessive = "template's"
 
-- cfg.modulePossessive
-- Possessive case for "module".
cfg.modulePossessive = "module's"
 
----------------------------------------------------------------------------------------------------