wiki.techinc.nl/tests/phpunit/includes/parser
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
..
CoreParserFunctionsTest.php Make Gender normalize usernames 2018-01-22 23:12:01 +00:00
MagicVariableTest.php Use setContentLang() instead of setMwGlobals() 2018-07-26 11:35:58 +00:00
ParserFactoryTest.php Use ParserFactory in a bunch of places 2018-08-11 00:16:17 -06:00
ParserIntegrationTest.php build: Updating mediawiki/mediawiki-codesniffer to 17.0.0 2018-03-29 21:53:10 +02:00
ParserMethodsTest.php Apply content wrapping in ParserOutput::getText() 2018-08-29 16:46:25 +02:00
ParserOptionsTest.php Mass conversion of $wgContLang to service 2018-08-11 22:44:29 -06:00
ParserOutputTest.php Apply content wrapping in ParserOutput::getText() 2018-08-29 16:46:25 +02:00
ParserPreloadTest.php Mass conversion of $wgContLang to service 2018-08-11 22:44:29 -06:00
PreprocessorTest.php Mass conversion of $wgContLang to service 2018-08-11 22:44:29 -06:00
SanitizerTest.php Remove $wgExperimentalHtmlIds and related code, deprecated in 1.30 2018-05-01 14:34:02 -07:00
StripStateTest.php StripState testing and cleanup 2018-03-05 16:43:58 +11:00
TagHooksTest.php Mass conversion of $wgContLang to service 2018-08-11 22:44:29 -06:00
TidyTest.php Default installations to using RemexHtml for tidying 2018-04-10 10:51:34 -07:00