MediaWiki的 maintenance 目录下存放着维护脚本,记录一下。
createAndPromote.php
用于创建或者修改已经存在的用户。参数如下
php createAndPromote.php [--bureaucrat] [--sysop] [--bot] [--custom-groups=<group1>,<group2>] [--force] username [password]
示例
php createAndPromote.php --bureaucrat --sysop --custom-groups=developer WikiSysop mypassword
由 udpwork.com 聚合
|
评论: 0
|
要! 要! 即刻! Now!