Manual:generateConfigNames.php

Other languages:
MediaWiki version:
1.39


DetailsEdit

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/ArgumentsEdit

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

UsageEdit

php maintenance/generateConfigNames.php [ --output ]
Terminal
$ php maintenance/generateConfigNames.php --output Sample-Config.php

See alsoEdit