wiki.techinc.nl/tests/qunit
Bartosz Dziewoński cc98ec4e1b mw.jqueryMsg: Allow complex expressions in parser functions' first param
When parsing wikitext like `{{func:a|b|c}}`, jqueryMsg accepted
multiple expressions in the parameters following '|' (which are
handled by templateParam()), but not in the first parameter
following ':' (which is handled by templateWithOutReplacement()).

So, `{{#FORMAL:Informal hello|{{GENDER:|Formal}} hello}}` worked,
but `{{#FORMAL:{{GENDER:|Informal}} hello|Formal hello}}` didn't.
Now they both work.

Bug: T379418
Change-Id: Ia4d57fd953dbd34e45789208ec8e765cce6ddf15
(cherry picked from commit 8b173830762738206919bd7b1a9ce3bba72dab5d)
2024-11-12 14:21:26 +00:00
..
data tests: Use namespaced classes 2024-10-21 18:53:02 +02:00
resources mw.jqueryMsg: Allow complex expressions in parser functions' first param 2024-11-12 14:21:26 +00:00
.eslintrc.json eslint: Promote 'prefer-const' to error in tests 2024-10-06 00:36:52 +02:00
.htaccess Update Apache config syntax in .htaccess files 2024-03-23 23:36:31 -04:00
QUnitTestResources.php ResourceLoader: Drop targets system, deprecated in 1.41 2024-01-12 16:42:38 -05:00