mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-14 09:44:44 +00:00
Change comment for TextExtractor getNativeData to getText
Update TextExtractor comment, change Content::getNativeData to TextContent::getText. Code got already updated. Bug: T283667 Change-Id: I09e3c537c7e55737d79e69abdd3b7faf693e58cc
This commit is contained in:
parent
bd44a9a87e
commit
3505fa63f6
|
@ -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