Manual:listVariants.php

MediaWiki version:
1.24

Details

edit

listVariants.php file is a maintenance script that lists all language variants.

Options/Arguments

edit
Argument Description Required?
--flat Output variants in a flat list Optional
--json Output variants as JSON Optional

Usage

edit
php maintenance/run.php language/listVariants [ --flat| --json ]
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