Template:Configuration list entry/doc
Appearance
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 (removed in 1.39) â Enable JSON serialization for ParserCache.
- {{Configuration list entry|wgVersion}} -> $wgVersion (deprecated in 1.35) â MediaWiki version number.
- {{Configuration list entry|wgRedirectScript}} -> $wgRedirectScript (removed in 1.22) â The URL of redirect.php.
- {{Configuration list entry|IP}} -> $IP â The full path to the installation directory.