Manual:generateConfigNames.php

From Linux Web Expert

Revision as of 16:59, 23 March 2022 by imported>Shirayuki (Marked this version for translation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<td class="mw-version-versionbox" title="<translate nowrap> The latest stable version is <tvar name=1>1.41</tvar></translate>">
<translate> ≥</translate> 1.39
<translate> MediaWiki version:</translate>

Details

generateConfigNames.php is a maintenance script to generates a PHP MainConfigNames class containing constants for all variables defined in the config-schema.yaml file.

Options/Arguments

Option Description Default Required?
--output Path to output. $IP/includes/MainConfigNames.php <translate> Optional</translate>

Usage

php maintenance/generateConfigNames.php [ --output ]
Terminal

See also