You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
落雨楓 1e68aa33da | 2 years ago | |
---|---|---|
i18n | 2 years ago | |
includes | 2 years ago | |
.gitattributes | 5 years ago | |
.gitignore | 5 years ago | |
IsekaiAIReview.alias.php | 5 years ago | |
LICENSE | 5 years ago | |
README-zh.md | 5 years ago | |
README.md | 4 years ago | |
composer.json | 2 years ago | |
extension.json | 2 years ago |
README.md
Isekai AI Review
This extension require mediawiki Moderation extension. Use AI to auto review revs in Moderation.
If you want to add more AI Review API, you can submit a issue.
Useage
First, register at Aliyun: https://www.aliyun.com/product/lvwang
And then, install the Moderation extension: https://github.com/edwardspec/mediawiki-moderation
Install composer packages: (If you download the release, ignore it)
composer update
Finally, add config in LocalSettings.php
:
wfLoadExtension('IsekaiAIReview');
//config
$wgAIReviewEndpoint = 'cn-shanghai';
$wgAIReviewAccessKeyId = '阿里云的Access key id';
$wgAIReviewAccessKeySecret = '阿里云的Access key secret';
$wgAIReviewBizType = 'isekaiwiki';
$wgAIReviewRobotUID = 0; //The user account show in Moderation which approve revs