mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TemplateData
synced 2024-11-15 03:34:44 +00:00
954211d8ba
I looks like the Model.params data structure is build in a way that it allows mismatching parameter "keys" and "names". E.g. { "a": { "name": "a" }, "a0": { "name": "a" }, } There are comments in the code that suggest this is intentional. I found code that confused these two values and tries to use the name as a key, for example. This fails, messes up the paramOrder, and such. This should not have much, if any effect for users because users are blocked from doing this anyway, e.g. buttons get disabled. Change-Id: I2067024ad8d5b8e985a4f162cf6875f523777a6c |
||
---|---|---|
.. | ||
phpunit | ||
qunit |