Podręcznik:dumpRev.php
Wersja MediaWiki: | ≥ 1.5 |
Plik MediaWiki: dumpRev.php | |
---|---|
Lokalizacja: | maintenance/storage/ |
Kod źródłowy: | master • 1.43.0 • 1.42.5 • 1.39.11 |
Klasy: | DumpRev |
Szczegóły
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 | Wymagane |
Usage
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.11 and earlier, you must invoke maintenance scripts using
php maintenance/scriptName.php
instead of php maintenance/run.php scriptName
.