Manual:dumpRev.php
Appearance
| MediaWiki version: | ≥ 1.5 |
| MediaWiki file: dumpRev.php | |
|---|---|
| Location: | maintenance/storage/ |
| Source code: | master • 1.45.1 • 1.44.3 • 1.43.6 |
| 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.43.6 and earlier, you must invoke maintenance scripts using
php maintenance/scriptName.php instead of php maintenance/run.php scriptName.