Template:Configuration list entry/doc: Difference between revisions
From Bonkipedia
[[mw:]]>Pppery (Add another example) |
ManfredoDo (talk | contribs) m (1 revision imported: Workaround and Utility Templates) |
(No difference)
|
Latest revision as of 17:53, 12 November 2022
This is a documentation subpage for Template:Configuration list entry. It contains usage information, categories and other content that is not part of the original Template page. |
Uses Lua: |
This template is used on Manual:Configuration settings to extract the description of each configuration variable from the corresponding manual page, allowing it to only be stored, and translated, in one place. It also automatically detects when a configuration setting was deprecated or removed. It takes one unnamed parameter: the name of a configuration variable, without the leading $, but with wg if applicable.
Examples:
- {{Configuration list entry|wgParserCacheUseJson}} -> $wgParserCacheUseJson Lua error in Module:Configuration_list_entry at line 32: Bogus configuration variable: $wgParserCacheUseJson.
- {{Configuration list entry|wgVersion}} -> $wgVersion Lua error in Module:Configuration_list_entry at line 32: Bogus configuration variable: $wgVersion.
- {{Configuration list entry|wgRedirectScript}} -> $wgRedirectScript Lua error in Module:Configuration_list_entry at line 32: Bogus configuration variable: $wgRedirectScript.
- {{Configuration list entry|IP}} -> $IP Lua error in Module:Configuration_list_entry at line 32: Bogus configuration variable: $IP.