Raw option of parser functions should match complete word
authorumherirrender <umherirrender_de.wp@web.de>
Tue, 17 Dec 2013 18:14:15 +0000 (19:14 +0100)
committerTim Starling <tstarling@wikimedia.org>
Sun, 12 Jan 2014 22:25:33 +0000 (22:25 +0000)
commitcf5cb9b79add6cd2b8ca27565e75765bbd677361
tree606e9f393e776c4c05ff9267759f95d0d27b76e1
parenta2847d03ed3bd61997623d92ba8ab512726d1ec7
Raw option of parser functions should match complete word

The MagicWord raw was not matched against the whole given string, which
result in a raw output, when this was not intented.
Fixing this by adding a new regex, which matches the string from start
to end.

Bug: 56199
Change-Id: I7781c415bd61447dd91872575877dd21f36fae9f
RELEASE-NOTES-1.23
includes/MagicWord.php
includes/parser/CoreParserFunctions.php
tests/parser/parserTests.txt