Manual:listVariants.php

From Linux Web Expert

Revision as of 03:16, 10 March 2024 by imported>Shirayuki (make variable names untranslatable)
(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.24
<translate> MediaWiki version:</translate>

Details

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

Options/Arguments

Argument Description Required?
--flat Output variants in a flat list <translate> Optional</translate>
--json Output variants as JSON <translate> Optional</translate>

Usage

php maintenance/language/listVariants.php [ --flat| --json ]


Terminal

See also