Make PPFrame::RECOVER_COMMENTS actually work
authorKevin Israel <pleasestand@live.com>
Wed, 13 May 2015 11:54:12 +0000 (07:54 -0400)
committerKevin Israel <pleasestand@live.com>
Sat, 15 Aug 2015 08:12:23 +0000 (04:12 -0400)
commit20cbd0f226a1575db3f3397de10a8daf0d0ad8d2
tree5e620156c5c5ab60af28c7b60a42128ca81bc2f4
parent5810fc651531fc587f2131f3160f50cc2defa070
Make PPFrame::RECOVER_COMMENTS actually work

Because of a missing condition, it generally only had an effect on
output type Parser::OT_WIKI, and thus {{msgnw:}} would strip comments
except when substituted during a pre-save transform.

Bug: T98841
Change-Id: I1e47696434fe87475f9902e6bfb8990566456e2f
RELEASE-NOTES-1.26
includes/parser/Preprocessor_DOM.php
includes/parser/Preprocessor_Hash.php
tests/parser/parserTests.txt