Manual:MoveToExternal.php/fr
Version de MediaWiki : | ≥ 1.5 |
Fichier MediaWiki : moveToExternal.php | |
---|---|
Emplacement : | maintenance/storage/ |
Code source : | master • 1.39.1 • 1.38.5 • 1.35.9 |
Classes : | Accès au code • Accès à la documentation |
Détails
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.
Options et arguments
Option/Argument | Description | Required? |
---|---|---|
type | Type of external storage | obligatoire |
location | Location in external storage | obligatoire |
-s | Starting ID of revision | optionnel |
-e | Ending ID of revision | optionnel |
Utilisation
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