Příručka:MoveToExternal.php
MediaWiki version: | ≥ 1.5 |
MediaWiki soubor: moveToExternal.php | |
---|---|
Cesta: | maintenance/storage/ |
Zdroják: | master • 1.38.2 • 1.37.4 • 1.35.7 |
Třídy: | Vyhledat zdrojový kód • Vyhledat dokumentaci |
Podrobnosti
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. See Manual:External Storage for more details.
Volby/Parametry
Volby/Parametry | Popis | Povinný? |
---|---|---|
type | Type of external storage | povinný |
location | Location in external storage | povinný |
-s | Starting ID of revision | volitelný |
-e | Ending ID of revision | volitelný |
Použití
php maintenance/storage/moveToExternal.php type location [ -s | -e ]
Terminal
$ php maintenance/storage/moveToExternal.php DB demoCluster Moving text rows from 1 to 675 to external storage oldid=1, moved=1