Manual:DumpRev.php
MediaWiki version: | ≥ 1.5 |
MediaWiki file: dumpRev.php | |
---|---|
Location: | maintenance/storage/ |
Source code: | master • 1.43.1 • 1.42.6 • 1.39.12 |
Classes: | DumpRev |
Details
dumpRev.php file is a maintenance script to get the text of a revision, resolving external storage if needed.
Options/Arguments
Argument | Description | Required? |
---|---|---|
rev-id | Revision ID of a page | Required |
Usage
php maintenance/run.php storage/dumpRev rev-id
Terminal
{{#parsoid\0fragment:0}}
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
.