Manual:FormatInstallDoc.php
Appearance
| Versão MediaWiki: | ≥ 1.18 |
| Ficheiro do MediaWiki: formatInstallDoc.php | |
|---|---|
| Localização: | maintenance/ |
| Código fonte: | master • 1.45.3 • 1.44.5 • 1.43.8 |
| Classes: | MaintenanceFormatInstallDoc |
Detalhes
O ficheiro formatInstallDoc.phpé um script de manutenção para formatar o ficheiro RELEASE-NOTE para wikitexto ou com marcação HTML.
Arguments/Options
| Argument/Option | Description | Required |
|---|---|---|
| path | Filename to format | Required |
| --outfile | Output filename | Optional |
| --html | Use HTML output format. By default, wikitext is used. | Optional |
Usage
php maintenance/run.php formatInstallDoc path [ --outfile| --html ]
Terminal
$ php maintenance/run.php formatInstallDoc RELEASE-NOTES-1.36 --outfile Doc.html --html
In MediaWiki version MediaWiki 1.39 and earlier, you must invoke maintenance scripts using
php maintenance/scriptName.php instead of php maintenance/run.php scriptName.