Manuel:FormatInstallDoc.php
Appearance
| Version de MediaWiki : | ≥ 1.18 |
| Fichier MediaWiki : formatInstallDoc.php | |
|---|---|
| Emplacement : | maintenance/ |
| Code source : | master • 1.45.1 • 1.44. • 1.39.16 |
| Classes : | MaintenanceFormatInstallDoc |
Détails
Le fichier formatInstallDoc.php est un script de maintenance pour formater le fichier RELEASE-NOTE des notes de version avec du wikicode ou des balises HTML.
Arguments et options
| Argument/Option | Description | Obligatoire |
|---|---|---|
| path | Filename to format | obligatoire |
| --outfile | Output filename | optionnel |
| --html | Use HTML output format. By default, wikitext is used. | optionnel |
Utilisation
php maintenance/run.php formatInstallDoc path [ --outfile| --html ]
Terminal
$ php maintenance/run.php formatInstallDoc RELEASE-NOTES-1.36 --outfile Doc.html --html
Dans la version MediaWiki 1.39.16 et antérieures, vous devez appeler les scripts de maintenance en utilisant
php maintenance/scriptName.php au lieu de php maintenance/run.php scriptName.