Manual:dumpRev.php
From Linux Web Expert
<td class="mw-version-versionbox" title="<translate nowrap> The latest stable version is <tvar name=1>1.41</tvar></translate>">
<translate> ≥</translate> 1.5
<translate> MediaWiki version:</translate> |
MediaWiki file: dumpRev.php | |
---|---|
Location: | maintenance/storage/ |
Source code: | master • 1.41.1 • 1.40.3 • 1.39.7 |
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 | <translate> Required</translate> |
Usage
php maintenance/storage/dumpRev.php rev-id
Terminal
$ php maintenance/storage/dumpRev.php 1 Text length: 755 <strong>MediaWiki has been installed.</strong> Consult the [https://www.mediawiki.org/wiki/Main_Page]