mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TemplateData
synced 2024-11-30 18:44:15 +00:00
4aaa9dfcf8
When normalising a TemplateData blob for API consumers, we previously automatically generated the 'paramOrder' with the order of the keys as they were specified in the JSON blob (which, unlike in JS, is known to be reliable in PHP). While this was useful to some extent, it made it mandatory for Parsoid and VisualEditor to always re-order properties during edits to match the specified order. In order to allow the order to remain flexible/unspecified, the original Specification made paramOrder optional, but during the implementation I gave it a default, which kind of defeated that intention. This patch fixes that. Bug: T138200 Change-Id: Ib40d23dac7e75274083f95a25c5aa1c22dfffb22 |
||
---|---|---|
.. | ||
TemplateDataBlobTest.php |