mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/SpamBlacklist
synced 2024-11-27 16:40:04 +00:00
Replace WikiPage::doEdit
Bug: T145745 Change-Id: I73247a0b115556b70d2aa9954f4d797c4a427935
This commit is contained in:
parent
3690acd5ee
commit
2cf3db6517
|
@ -50,7 +50,7 @@ function cleanupArticle( Revision $rev, $regexes, $match ) {
|
|||
$comment = "Cleaning up links to $match";
|
||||
}
|
||||
$wikiPage = new WikiPage( $title );
|
||||
$wikiPage->doEdit( $text, $comment );
|
||||
$wikiPage->doEditContent( ContentHandler::makeContent( $text, $title ), $comment );
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue