Manual:GenerateConfigNames.php/pl
Appearance
Wersja MediaWiki: | ≥ 1.39 |
Plik MediaWiki: generateConfigNames.php | |
---|---|
Lokalizacja: | maintenance/ |
Kod źródłowy: | master • 1.42.3 • 1.41.4 • 1.39.10 |
Klasy: | GenerateConfigNames |
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 |
Optional |
Usage
php maintenance/generateConfigNames.php [ --output ]
Terminal
$ php maintenance/generateConfigNames.php --output Sample-Config.php