Use annotations for taint in Parser & ParserOutput.
authorBrian Wolff <bawolff+wn@gmail.com>
Fri, 31 Aug 2018 15:55:44 +0000 (15:55 +0000)
committerBrian Wolff <bawolff+wn@gmail.com>
Fri, 31 Aug 2018 15:55:44 +0000 (15:55 +0000)
commit13e5700b23e0fae839dba7756746f782dd4ba91e
tree8ec6e946e71f2acba33b6c726d89f9303d1d1b3c
parent1415be543b8a1a3e2f47d4e46a48b34ce877983f
Use annotations for taint in Parser & ParserOutput.

This replaces the builtin taints that are removed in
Ic1e1983a51c. Additionally, parse will no longer warn about
double escaping - there's many situations where such warnings
are wrong (e.g. Using Html::rawElement()). However this also
means that Parser::parse( wfMessage( 'foo' )->parse() ); will
no longer give a double escaping warning, which is unfortunate.

Bug: T202380
Change-Id: Ia52d37411beb62b112c6ff102438063c3d750769
includes/parser/Parser.php
includes/parser/ParserOutput.php