Template:Configuration list entry/doc
From Linux Web Expert
File:Lua-logo-nolabel.svg | 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 <translate> (removed in <tvar name=2>1.39</tvar>)</translate> – Enable JSON serialization for ParserCache.
- {{Configuration list entry|wgVersion}} -> $wgVersion <translate> (deprecated in <tvar name=2>1.35</tvar>)</translate> – MediaWiki version number.
- {{Configuration list entry|wgRedirectScript}} -> $wgRedirectScript <translate> (removed in <tvar name=2>1.22</tvar>)</translate> – The URL of redirect.php.
- {{Configuration list entry|IP}} -> $IP – The full path to the installation directory.