wiki.techinc.nl/tests/phpunit/includes/content
daniel 6906a7728c Add UnknownContentHandler.
UnknownContentHandler can be configued to handle models that
belong to extensions that have been undeployed:

  $wgContentHandlers['xyzzy'] = 'UnknownContentHandler';

This way, no errors will be thrown when trying to access
pages with the unsupported model. Instead, an error message is
shown, and editing is prevented.

This patch also improves handling of non-editable content in
EditPage and in DifferenceEngine.

Bug: T220608
Change-Id: Ia94521b786c0a5225a674e4dc3cb6761a723d75b
2019-08-29 10:43:11 +00:00
..
ContentHandlerTest.php Add missing newline between <?php and namespace/use section 2019-06-03 13:36:48 +00: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
JsonContentTest.php Remove "Squiz.WhiteSpace.FunctionSpacing" from phpcs exclusions 2019-05-11 02:44:26 +01:00
MessageContentTest.php Add some missing @covers tags 2019-02-02 21:53:40 -08:00
TextContentHandlerTest.php Fix order of @var parameter in PHP 2019-04-08 18:37:56 +02:00
TextContentTest.php Add some missing @covers tags 2019-02-02 21:53:40 -08:00
UnknownContentHandlerTest.php Add UnknownContentHandler. 2019-08-29 10:43:11 +00:00
UnknownContentTest.php Add UnknownContentHandler. 2019-08-29 10:43:11 +00:00
WikitextContentHandlerTest.php Add some missing @covers tags 2019-02-02 21:53:40 -08:00
WikitextContentTest.php Avoid a few overly complicated is_null() checks 2019-03-11 10:29:20 +01:00
WikitextStructureTest.php Preserve whitespace in search index text content 2018-09-14 11:10:35 -07:00