mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-15 02:03:53 +00:00
Merge "Change comment for TextExtractor getNativeData to getText"
This commit is contained in:
commit
a94f71fcac
|
@ -67,7 +67,7 @@ class TextExtractor {
|
|||
/**
|
||||
* Converts the given Content object to a string.
|
||||
*
|
||||
* This uses Content::getNativeData() if $content is an instance of TextContent,
|
||||
* This uses TextContent::getText() if $content is an instance of TextContent,
|
||||
* or Content::getTextForSearchIndex() otherwise.
|
||||
*
|
||||
* The hook AbuseFilterContentToString can be used to override this
|
||||
|
|
Loading…
Reference in a new issue