mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TemplateData
synced 2024-11-14 11:15:39 +00:00
bb7b801b64
So far we show nothing but the index in the "paramOrder" array. This is especially useless when a parameter is missing. The index just points to the end of the array then. Same when an unknown parameter appears. What the user needs is not the index but the name of the unknown parameter. I played around with a few formats. As suggested in this patch: Required property "paramOrder[ "foo" ]" not found. Invalid value for property "paramOrder[ "foo" ]". A possible alternative is: Required property "paramOrder[0] ("foo")" not found. Invalid value for property "paramOrder[0] ("foo")". Bug: T340377 Change-Id: I1dbef1b6e585d5b972a0c9a373a040aee6027cf3 |
||
---|---|---|
.. | ||
parser | ||
phpunit | ||
qunit |