Manual:formatInstallDoc.php
Appearance
| MediaWiki version: | ≥ 1.18 |
| MediaWiki file: formatInstallDoc.php | |
|---|---|
| Location: | maintenance/ |
| Source code: | master • 1.45.1 • 1.44. • 1.39.16 |
| Classes: | MaintenanceFormatInstallDoc |
Details
[edit]formatInstallDoc.php file is a maintenance script to format RELEASE-NOTE file to wiki text or HTML markup.
Arguments/Options
[edit]| 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
[edit]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 1.39.16 and earlier, you must invoke maintenance scripts using
php maintenance/scriptName.php instead of php maintenance/run.php scriptName.