@ -3,9 +3,8 @@ namespace Isekai\AIReview;
use Job;
use MediaWiki\MediaWikiServices;
use Title;
use User;
use RequestContext;
use MediaWiki\Title\Title;
use MediaWiki\Context\RequestContext;
use ModerationViewableEntry;
class AIReviewJob extends Job {
@ -3,7 +3,6 @@ namespace Isekai\AIReview;
use AlibabaCloud\Client\AlibabaCloud;
use AlibabaCloud\Green\Green;
use Exception;
class AliyunAIReview {
private const MAX_LENGTH = 10000;
@ -1,9 +1,8 @@
<?php
namespace Isekai\AIReview;
use JobQueueGroup;
class Hooks {
public static function onModerationPending($fields, $mod_id){
@ -3,11 +3,10 @@ namespace Isekai\AIReview;
use LogFormatter as GlobalLogFormatter;
use SpecialPage;
use Message;
use Linker;
use MediaWiki\SpecialPage\SpecialPage;
use MediaWiki\Message\Message;
use MediaWiki\Linker\Linker;
class LogFormatter extends GlobalLogFormatter {
/**