See parent task. There is only a comment to update (as the code got already updated in https://gerrit.wikimedia.org/r/c/mediawiki/extensions/AbuseFilter/+/498505 ), so this is trivial:
AbuseFilter/includes/TextExtractor.php: * This uses Content::getNativeData() if $content is an instance of TextContent,