parser: Simplify code for {{#int:}} if the message doesn't exist
authorKunal Mehta <legoktm@member.fsf.org>
Sat, 25 Aug 2018 08:20:43 +0000 (01:20 -0700)
committerKunal Mehta <legoktm@member.fsf.org>
Sat, 25 Aug 2018 08:20:43 +0000 (01:20 -0700)
commit2912873a61fd2f00fed4b2b8a308a026d4b06d7d
tree772e26380cac2978a5a618bbcdccb9ebe85e4630
parent33afb7440a03df8d1878c94d2f3d3b9fdd1a848b
parser: Simplify code for {{#int:}} if the message doesn't exist

Ever since 184658eb32f6, the output of a non-existing message will be
HTML safe, regardless of output format, so we can treat non-existing messages
exactly the same as messages that do exist.

The pre-existing "int keyword - non-existing message" parser test verifies
that no change in output has ocurred in this patch.

Change-Id: I0e32be14f1b420d7f222ac3c76e1cc266f912b69
includes/parser/CoreParserFunctions.php