Handbuch:dumpRev.php
Appearance
| MediaWiki Version: | ≥ 1.5 |
| MediaWiki-Datei: dumpRev.php | |
|---|---|
| Speicherort: | maintenance/storage/ |
| Quellcode: | master • 1.44.2 • 1.43.5 • 1.39.15 |
| Klassen: | DumpRev |
Details
dumpRev.php file is a maintenance script to get the text of a revision, resolving external storage if needed.
Optionen/Argumente
| Argument | Beschreibung | Notwendig? |
|---|---|---|
| rev-id | Versions-ID einer Seite | Notwendig |
Verwendung
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.15 and earlier, you must invoke maintenance scripts using
php maintenance/scriptName.php instead of php maintenance/run.php scriptName.