Manual:formatInstallDoc.php
Appearance
From mediawiki.org
MediaWiki version:
≥ 1.18
MediaWiki file: formatInstallDoc.php | |
---|---|
Location: | maintenance/ |
Source code: | master • 1.43.1 • 1.42.6 • 1.39.12 |
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 ]phpmaintenance/run.phpformatInstallDocpath[--outfile|--html]
Terminal
$ php maintenance/run.php formatInstallDoc RELEASE-NOTES-1.36 --outfile Doc.html --html
In MediaWiki version 1.39.12 and earlier, you must invoke maintenance scripts using
php maintenance/scriptName.php
instead of php maintenance/run.php scriptName
.