wiki.techinc.nl/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
..
BlockLevelPass.php Put <dt>/<dd>/<li> in the always-suppressing category of doBlockLevels 2018-07-13 12:40:49 -04:00
CacheTime.php Fix PHPDoc type hints in CacheTime, ParserOptions, and related 2018-04-18 15:10:31 +00:00
CoreParserFunctions.php Mass conversion to SpecialPageFactory service 2018-08-17 12:03:12 -07:00
CoreTagHooks.php Start working on phan-taint-check warnings. Fix minor escaping issues. 2018-07-12 03:26:59 +00:00
DateFormatter.php Add type hint Language where possible 2018-08-12 10:20:11 +02:00
LinkHolderArray.php Update LinkHolderArray to use ContentLanguage 2018-08-11 07:26:21 +00:00
MWTidy.php tidy: Remove obsolete Depurate and Balancer drivers 2018-05-08 15:32:49 +00:00
Parser.php Apply content wrapping in ParserOutput::getText() 2018-08-29 16:46:25 +02:00
ParserCache.php Add type hint for ParserOutput 2018-07-30 09:23:59 +02:00
ParserDiffTest.php Get rid of call_user_func(_array)(), part 3 2018-06-10 02:21:24 +00:00
ParserFactory.php Inject SpecialPageFactory into Parser 2018-08-17 12:03:13 -07:00
ParserOptions.php Mass conversion of $wgContLang to service 2018-08-11 22:44:29 -06:00
ParserOutput.php Apply content wrapping in ParserOutput::getText() 2018-08-29 16:46:25 +02:00
Preprocessor.php Use PHP 5.6 constant expressions for some bitfield constants 2018-05-30 18:05:18 -07:00
Preprocessor_DOM.php Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
Preprocessor_Hash.php Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient 2018-05-30 18:06:13 -07:00
RemexStripTagHandler.php Use Remex in Sanitizer::stripAllTags() 2017-11-15 17:31:31 -08:00
Sanitizer.php Mass conversion of $wgContLang to service 2018-08-11 22:44:29 -06:00
StripState.php Normalize PHPDoc attributes 2018-03-16 22:59:15 -07:00