Use cloud api to autoreview revs in mediawiki
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.
落雨楓 9d26636e82 增加1.39支持 2 years ago
i18n 增加1.39支持 2 years ago
includes 增加1.39支持 2 years ago
.gitattributes Initial commit 5 years ago
.gitignore Init project 5 years ago
IsekaiAIReview.alias.php Init project 5 years ago
LICENSE Init project 5 years ago
README-zh.md Init project 5 years ago
README.md 更改URL 4 years ago
composer.json 增加1.39支持 2 years ago
extension.json 增加1.39支持 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