Manual:MoveToExternal.php
Appearance
Versão MediaWiki: | ≥ 1.5 |
ficheiro do MediaWiki: moveToExternal.php | |
---|---|
Localização: | maintenance/storage/ |
Código fonte: | master • 1.42.3 • 1.41.4 • 1.39.10 |
Classes: | Find code • Find documentation |
Detalhes
O ficheiro moveToExternal.php é um script de manutenção para mover o texto de revisões para armazenamento externo.
You have to set up the $wgExternalStores and $wgExternalServers configuration before running the script. See Manual:External Storage for more details.
Options/Arguments
Option/Argument | Description | Required? |
---|---|---|
type | Type of external storage | Required |
location | Location in external storage | Required |
-s | Starting ID of revision | Optional |
-e | Ending ID of revision | Optional |
Usage
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