手册:MoveToExternal.php
Appearance
| MediaWiki版本: | ≥ 1.5 |
| MediaWiki文件: moveToExternal.php | |
|---|---|
| 位置: | maintenance/storage/ |
| 源代码: | master • 1.45.1 • 1.44. • 1.39.16 |
| 类: | 查找代码 • 查找帮助文档 |
细节
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. 参见Manual:External Storage以获取更多信息。
选项/参数
| 选项/参数 | 描述 | 必需? |
|---|---|---|
| type | 外部存储的类型 | Required |
| location | 在外部存储中的位置 | Required |
| -s | 修订版的起始 ID | Optional |
| -e | 修订版的终止ID | Optional |
用法
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