wiki.techinc.nl/tests/phpunit/includes/api
daniel 0dc7ba02b4 Apply content wrapping in ParserOutput::getText()
Instead of applying wrapping the the parser and unwrapping in
ParserOutput::getText(), turn this around and apply wrapping in getText(),
and only if desired.

This avoids search&replace logic for unwrapping, and it also makes it a lot
easier to merge the output of multiple slots for MCR output.

This changes behavior in two hopefully irrelevant ways:
1) the limit report comments will be inside the wrapper div, instead of
following it.
2) if HTML with a wrapper div is explicitly injected into a ParserOutput
object, it will not be possible to unwrap the text.

Bug: T174035
Change-Id: I1641b7995af9bd297f1acd610d583fbf874f34e0
2018-08-29 16:46:25 +02:00
..
format Avoid a redirect loop when the request URL is not normalized 2018-07-16 15:55:59 +10:00
query Disable PHPUnit tests that fail under sqlite 2018-08-01 00:19:43 -07:00
ApiBaseTest.php Disable PHPUnit tests that fail under postgres 2018-08-01 22:22:15 +00:00
ApiBlockTest.php Get rid of ApiTestCase::doLogin 2018-04-11 20:17:52 +03:00
ApiCheckTokenTest.php Add tests for ApiCheckToken 2018-01-01 02:06:59 +02:00
ApiClearHasMsgTest.php Add message to the assert of ApiClearHasMsgTest 2018-01-03 04:29:23 +02:00
ApiComparePagesTest.php Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
ApiContinuationManagerTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
ApiDeleteTest.php Get rid of ApiTestCase::doLogin 2018-04-11 20:17:52 +03:00
ApiDisabledTest.php Test ApiDisabled.php 2018-03-20 18:01:07 +02:00
ApiEditPageTest.php tests: Replace Bugddddd with Tddddd in test names, test strings 2018-08-20 21:27:20 +00:00
ApiErrorFormatterTest.php Update suppressWarning()/restoreWarning() calls 2018-02-10 08:50:12 +00:00
ApiLoginTest.php Add PasswordFactory to MediaWikiServices 2018-08-02 14:46:35 +01:00
ApiMainTest.php Deprecate $wgShowSQLErrors and $wgShowDBErrorBacktrace and make nonfunctional 2018-07-25 10:38:19 -05:00
ApiMessageTest.php
ApiModuleManagerTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
ApiMoveTest.php Test ApiMove 2018-04-15 14:13:08 +03:00
ApiOpenSearchTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
ApiOptionsTest.php Introduce preference filters 2018-07-17 13:19:14 -07:00
ApiPageSetTest.php build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00
ApiParseTest.php Apply content wrapping in ParserOutput::getText() 2018-08-29 16:46:25 +02:00
ApiPurgeTest.php Get rid of ApiTestCase::doLogin 2018-04-11 20:17:52 +03:00
ApiQueryAllPagesTest.php Get rid of ApiTestCase::doLogin 2018-04-11 20:17:52 +03:00
ApiQueryDisabledTest.php Add PHPUnit test to ApiQueryDisabled 2018-08-02 21:44:24 -04:00
ApiQueryPrefixSearchTest.php Silently drop unknown titles in completion search 2018-06-11 13:56:19 -07:00
ApiQueryRecentChangesIntegrationTest.php Merge "Add ability to filter based on rc_title in API" 2018-05-24 10:13:06 +00:00
ApiQuerySearchTest.php Convert SearchResultSet to typical iteration 2018-06-11 13:35:41 -07:00
ApiQuerySiteinfoTest.php Mass conversion to SpecialPageFactory service 2018-08-17 12:03:12 -07:00
ApiQueryWatchlistIntegrationTest.php [MCR] Factor PageUpdater out of WikiPage 2018-06-14 13:22:13 +00:00
ApiQueryWatchlistRawIntegrationTest.php Get rid of ApiTestCase::doLogin 2018-04-11 20:17:52 +03:00
ApiResultTest.php
ApiRevisionDeleteTest.php
ApiSetNotificationTimestampIntegrationTest.php Get rid of ApiTestCase::doLogin 2018-04-11 20:17:52 +03:00
ApiStashEditTest.php Improve test coverage for ApiStashEdit 2018-08-21 15:32:29 -07:00
ApiTestCase.php New helper ApiTestCase::setExpectedApiException() 2018-08-01 14:13:23 +03:00
ApiTestCaseUpload.php Drop deprecated EnableAPI and EnableWriteAPI settings 2018-04-18 00:30:34 +00:00
ApiTestContext.php
ApiTokensTest.php
ApiUnblockTest.php Get rid of ApiTestCase::doLogin 2018-04-11 20:17:52 +03:00
ApiUploadTest.php Rename ApiTestCaseUpload 2018-03-16 18:40:38 +01:00
ApiUploadTestCase.php Drop deprecated EnableAPI and EnableWriteAPI settings 2018-04-18 00:30:34 +00:00
ApiUsageExceptionTest.php Add @covers tags API tests without them 2017-12-27 17:50:06 +00:00
ApiUserrightsTest.php Test ApiUserrights 2018-04-12 21:26:02 +03:00
ApiWatchTest.php Get rid of ApiTestCase::doLogin 2018-04-11 20:17:52 +03:00
generateRandomImages.php Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
MockApi.php
MockApiQueryBase.php
RandomImageGenerator.php Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +00:00
UserWrapper.php
words.txt