Template:MW file/doc

From Linux Web Expert

Revision as of 06:26, 7 December 2023 by imported>Shirayuki (move TemplateData here)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<templatedata> { "params": { "1": { "label": "File name", "required": true }, "2": { "label": "File path", "required": true }, "nodisplaytitle": {}, "NotInGit": { "label": "Not in Git?", "description": "Whether the version is in Git version control (only rarely used for files like LocalSettings.php and DevelopmentSettings.php)", "type": "boolean" }, "stable": { "label": "Stable MediaWiki version" }, "legacy": { "label": "Legacy MediaWiki version" }, "lts": { "label": "LTS MediaWiki Version", "description": "Long-Term Support version for MediaWiki" }, "class1": { "label": "Class 1", "suggested": true }, "class2": { "label": "Class 2" }, "class3": { "label": "Class 3" }, "class4": { "label": "Class 4" }, "class5": { "label": "Class 5" }, "class6": { "label": "Class 6" }, "interface1": { "label": "Interface 1", "suggested": true }, "interface2": { "label": "Interface 2" }, "interface3": { "label": "Interface 3" }, "example": { "label": "Example" } }, "paramOrder": [ "nodisplaytitle", "1", "2", "NotInGit", "stable", "legacy", "lts", "class1", "class2", "class3", "class4", "class5", "class6", "interface1", "interface2", "interface3", "example" ], "format": "block", "description": "Displays an informative box about a file in MediaWiki core, with links to its source code in master, stable, and legacy branches, and links to its classes and interfaces in the generated PHP documentation. " } </templatedata>