Manual:dumpRev.php
MediaWiki version: | ≥ 1.5 |
MediaWiki file: dumpRev.php | |
---|---|
Location: | maintenance/storage/ |
Source code: | master • 1.42.4 • 1.41.5 • 1.39.11 |
Classes: | DumpRev |
Details
editdumpRev.php file is a maintenance script to get the text of a revision, resolving external storage if needed.
Options/Arguments
editArgument | Description | Required? |
---|---|---|
rev-id | Revision ID of a page | Required |
Usage
editphp maintenance/run.php storage/dumpRev rev-id
Terminal
$ php maintenance/run.php storage/dumpRev 1 Text length: 755 <strong>MediaWiki has been installed.</strong> Consult the [https://www.mediawiki.org/wiki/Main_Page]
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
.