手册:MoveToExternal.php
MediaWiki版本: | ≥ 1.5 |
MediaWiki文件: moveToExternal.php | |
---|---|
位置: | maintenance/storage/ |
源代码: | master • 1.42.1 • 1.41.2 • 1.39.8 |
类: | 查找代码 • 查找帮助文档 |
细节
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/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