diff --git a/includes/LinkTitles_Extension.php b/includes/LinkTitles_Extension.php index 9b23871..bf509b9 100644 --- a/includes/LinkTitles_Extension.php +++ b/includes/LinkTitles_Extension.php @@ -220,11 +220,12 @@ class Extension { $newText = self::parseContent($title, $text); if ( $text != $newText ) { $content = $content->getContentHandler()->unserializeContent( $newText ); - $page->doQuickEditContent( + $page->doEditContent( $content, - $context->getUser(), "Links to existing pages added by LinkTitles bot.", // TODO: i18n - true // minor modification + EDIT_MINOR | EDIT_FORCE_BOT, + false, // baseRevId + $context->getUser() ); }; return true;