Difference between revisions 51891 and 51892 on wikimaniawiki---------------------------------------------------------------------------------------------------- -- -- Configuration for Module:Documentation -- -- Here you can set the values of the parameters and messages used in Module:Documentation to -- localise it to your wiki and your language. Unless specified otherwise, values given here -- should be string values. ---------------------------------------------------------------------------------------------------- (contracted; show full) -- display cfg.createLinkDisplay. cfg.createModuleDocBlurb = 'You might want to $1 a documentation page for this [[Wikipedia:Lua|Scribunto module]].' ---------------------------------------------------------------------------------------------------- -- Experiment blurb configuration ---------------------------------------------------------------------------------------------------- -- cfg.experimentBlurb ⏎ -- ThisTemplate -- cfg.experimentBlurbModule -- The experiment blurb is the text inviting editors to experiment in sandbox and test cases pages.⏎ -- 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. -- -- In this example, "sandbox", "edit", "diff", "testcases", and "edit" would all be links. -- -- Parameters: -- -- $1 is the possessive name for "module" or "template", set by cfg.templatePossessive or -- cfg.modulePossessiveThere are two versions, cfg.experimentBlurbTemplate and cfg.experimentBlurbModule, depending⏎ -- on what namespace we are in. -- -- Parameters:⏎ -- -- $21 is a link to the sandbox page. If the sandbox exists, it is in the following format: -- -- cfg.sandboxLinkDisplay (cfg.sandboxEditLinkDisplay | cfg.compareLinkDisplay) -- -- If the sandbox doesn't exist, it is in the format: -- -- cfg.sandboxLinkDisplay (cfg.sandboxCreateLinkDisplay | cfg.mirrorLinkDisplay) -- -- The link for cfg.sandboxCreateLinkDisplay link preloads the page with cfg.templateSandboxPreload -- or cfg.moduleSandboxPreload, depending on the current namespace. The link for cfg.mirrorLinkDisplay -- 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) -- -- If the test cases page doesn't exist, it is in the format: -- -- cfg.testcasesLinkDisplay (cfg.testcasesCreateLinkDisplay) -- -- If the test cases page doesn't exist, the link for cfg.testcasesCreateLinkDisplay preloads the -- page with cfg.templateTestcasesPreload or cfg.moduleTestcasesPreload, depending on the current -- namespace. cfg.experimentBlurbTemplate = '"Editors can experiment in this $1template's $21 and $32 pages.' -- cfg.templatePossessive -- Possessive case for "template". cfg.templatePossessive = "template's" -- cfg.modulePossessive -- Possessive case for "module". cfg.modulePossessive = "module's" cfg.experimentBlurbModule = "Editors can experiment in this module's $1 and $2 pages." ---------------------------------------------------------------------------------------------------- -- Sandbox link configuration ---------------------------------------------------------------------------------------------------- -- cfg.sandboxSubpage -- The name of the template subpage typically used for sandboxes. (contracted; show full) ---------------------------------------------------------------------------------------------------- -- End configuration -- -- Don't edit anything below this line. ---------------------------------------------------------------------------------------------------- return cfg All content in the above text box is licensed under the Creative Commons Attribution-ShareAlike license Version 4 and was originally sourced from https://wikimania.wikimedia.org/w/index.php?diff=prev&oldid=51892.
![]() ![]() This site is not affiliated with or endorsed in any way by the Wikimedia Foundation or any of its affiliates. In fact, we fucking despise them.
|