Manual:dumpRev.php
Appearance
MediaWiki version: | ≥ 1.5 |
MediaWiki file: dumpRev.php | |
---|---|
Location: | maintenance/storage/ |
Source code: | master • 1.43.0 • 1.42.4 • 1.39.11 |
Classes: | DumpRev |
Details
[edit]dumpRev.php file is a maintenance script to get the text of a revision, resolving external storage if needed.
Options/Arguments
[edit]Argument | Description | Required? |
---|---|---|
rev-id | Revision ID of a page | Required |
Usage
[edit]php 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
.