Manual:MoveToExternal.php/de
Appearance
| MediaWiki Version: | ≥ 1.5 |
| MediaWiki-Datei: moveToExternal.php | |
|---|---|
| Speicherort: | maintenance/storage/ |
| Quellcode: | master • 1.45.0 • 1.44.2 • 1.39.15 |
| Klassen: | Code finden • Dokumentation finden |
Details
moveToExternal.php file is a maintenance script to move revision's text to external storage.
You have to set up the $wgExternalStores and $wgExternalServers configuration before running the script. Siehe Manual:External Storage für weitere Details.
Optionen/Argumente
| Option/Argument | Beschreibung | Notwendig? |
|---|---|---|
| type | Type of external storage | Notwendig |
| location | Location in external storage | Notwendig |
| -s | Starting ID of revision | Optional |
| -e | Ending ID of revision | Optional |
Verwendung
php maintenance/run.php storage/moveToExternal type location [ -s | -e ]
Terminal
$ php maintenance/run.php storage/moveToExternal DB demoCluster Moving text rows from 1 to 675 to external storage oldid=1, moved=1
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.