Manual:MoveToExternal.php
Appearance
Versão do MediaWiki: | ≥ 1.5 |
Arquivo do MediaWiki: moveToExternal.php | |
---|---|
Localização: | maintenance/storage/ |
Código-fonte: | master • 1.44.0 • 1.43.3 • 1.39.13 |
Classes: | Encontrar código • Encontrar documentação |
Detalhes
O arquivo moveToExternal.php é um script de manutenção utilizado 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/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
No MediaWiki versão 1.39.13 e anteriores, você deve invocar os scripts de manutenção usando
php maintenance/scriptName.php
em vez de php maintenance/run.php scriptName
.