Template:Configuration list entry/doc
From Bonkipedia
< Template:Configuration list entry
Revision as of 02:25, 12 April 2022 by [[mw:]]>Pppery (Add another example)
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.