Manual:generateConfigNames.php

MediaWiki version:
1.39

Details

edit

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

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

Usage

edit
php maintenance/run.php generateConfigNames [ --output ]
Terminal
In MediaWiki version 1.39.10 and earlier, you must invoke maintenance scripts using php maintenance/scriptName.php instead of php maintenance/run.php scriptName.

See also

edit