wiki.techinc.nl/tests/phpunit/includes/content
daniel 54c70c3551 Deprecate Content::getNativeData, add TextContent::getText
getNativeData() is under-specified - callers can do nothing with the
value returned by getNativeData without knowing the concrete Content
class. And if they know the concrete class, they can and should use
a specialized getter instead, anyway.

Basically, getNativeData is overly generic, an example of polymorphism
done poorly. Let's fix it now.

Bug: T155582
Change-Id: Id2c61dcd38ab30416a25746e3680edb8791ae8e8
2019-01-16 11:57:50 -08:00
..
ContentHandlerTest.php Deprecate Content::getNativeData, add TextContent::getText 2019-01-16 11:57:50 -08:00
CssContentHandlerTest.php Recognize CSS/JS redirects with non-ASCII targets 2018-10-31 23:09:50 -07:00
CssContentTest.php Recognize CSS/JS redirects with non-ASCII targets 2018-10-31 23:09:50 -07:00
FileContentHandlerTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
JavaScriptContentHandlerTest.php Recognize CSS/JS redirects with non-ASCII targets 2018-10-31 23:09:50 -07:00
JavaScriptContentTest.php Deprecate Content::getNativeData, add TextContent::getText 2019-01-16 11:57:50 -08:00
JsonContentHandlerTest.php
JsonContentTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
MessageContentTest.php Deprecate Content::getNativeData, add TextContent::getText 2019-01-16 11:57:50 -08:00
TextContentHandlerTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
TextContentTest.php Deprecate Content::getNativeData, add TextContent::getText 2019-01-16 11:57:50 -08:00
WikitextContentHandlerTest.php Deprecate Content::getNativeData, add TextContent::getText 2019-01-16 11:57:50 -08:00
WikitextContentTest.php Deprecate Content::getNativeData, add TextContent::getText 2019-01-16 11:57:50 -08:00
WikitextStructureTest.php Preserve whitespace in search index text content 2018-09-14 11:10:35 -07:00