[09:07:11] Hi, Is anyone online? [09:19:34] yes? [09:25:19] I'm developing an extension for a private MediaWiki-based site, and I'm facing an issue with the function that performs edits via the extension. [09:25:20] ``` [09:25:20] private function removeImage($filename) { [09:25:21]     try { [09:25:21]         $services = MediaWikiServices::getInstance(); [09:25:22]         $dbr = $this->loadBalancer->getConnection(DB_REPLICA); [09:25:22]         $pagesModified = []; [09:25:23]         $res = $dbr->select( [09:25:23]             'imagelinks', [09:25:24]             'il_from', [09:25:24]             ['il_to' => str_replace(' ', '_', $filename)], [09:25:25]             __METHOD__ [09:25:25]         ); [09:25:26]         foreach ($res as $row) { [09:25:26]             $title = Title::newFromID($row->il_from); [09:25:27]             if (!$title) { [09:25:27]                 continue; [09:25:28]             } [09:25:39] } [09:25:39] ``` [09:25:40] The problem is that edits made through the extension are not marked as patrolled, even when the user performing the edit has the autopatrol flag (e.g., a user with the sysop right). I've searched extensively but haven't been able to find a solution. [09:26:46] Do you know how to fix this (or who to contact)? [09:26:56] first, please use a pastebin instead of pasting larger code blocks here [09:27:11] second, for non-wikimedia sites, #mediawiki instead of this channel is a better venue [09:28:36] Sorry, I don't know the system... [09:28:37] I'll go there. Thanks!