Manual:formatInstallDoc.php
Appearance
MediaWiki version: | ≥ 1.18 |
MediaWiki file: formatInstallDoc.php | |
---|---|
Location: | maintenance/ |
Source code: | master • 1.43.0 • 1.42.4 • 1.39.11 |
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.10 and earlier, you must invoke maintenance scripts using
php maintenance/scriptName.php
instead of php maintenance/run.php scriptName
.