Refactor calls to deprecated function Content::getNativeData()
authorBill Pirkle <bpirkle@wikimedia.org>
Thu, 7 Feb 2019 00:14:23 +0000 (18:14 -0600)
committerDaniel Kinzler <dkinzler@wikimedia.org>
Fri, 15 Feb 2019 17:48:01 +0000 (17:48 +0000)
commitd993f499ee66a9296bcb09f7e3a93eadd8274bb6
treeae06b37f36ce5e7fccc47dca0e589e1d4b764bc7
parentff75ea4f05c661e91d282d7418870956e647b8c3
Refactor calls to deprecated function Content::getNativeData()

Function Content::getNativeData() was deprecated.  Replace with
calls to new function TextContent::getText() in most places.

Bug: T155582
Change-Id: I2bd508c72aac4faf474ba45ab1f92e2e8d2eb9be
22 files changed:
includes/FeedUtils.php
includes/LinkFilter.php
includes/actions/RawAction.php
includes/api/ApiFeedContributions.php
includes/api/ApiParse.php
includes/api/ApiQueryRevisionsBase.php
includes/content/ContentHandler.php
includes/specials/SpecialBooksources.php
includes/specials/SpecialUndelete.php
languages/LanguageConverter.php
maintenance/compareParsers.php
maintenance/preprocessDump.php
maintenance/view.php
tests/phpunit/includes/Revision/SlotRecordTest.php
tests/phpunit/includes/RevisionDbTestBase.php
tests/phpunit/includes/api/ApiEditPageTest.php
tests/phpunit/includes/diff/CustomDifferenceEngine.php
tests/phpunit/includes/import/ImportTest.php
tests/phpunit/includes/page/ArticleViewTest.php
tests/phpunit/includes/page/WikiPageDbTestBase.php
tests/phpunit/mocks/content/DummyContentForTesting.php
tests/phpunit/mocks/content/DummyNonTextContent.php