mediawiki-extensions-Visual.../modules/ve-mw/dm
Adam Wight 1909fdff92 Revert "Revert "Fall back from explicit parameter order to TemplateData sort""
This reverts the revert commit d47b95eb4a.

When no `paramOrder` is given, known parameters should appear in the
order returned from the TemplateData API.

Previously, when TemplateData was present but no paramOrder
specified, then the parameters would appear in alphabetical order as
"unknown" parameters.  Now they will appear in the order listed in
TemplateData.  This is similar to the fully-specified behavior when
paramOrder is present.

This will only affect the Visual Editor template dialog, and has no
effect on serialization.

Bug: T274545
Change-Id: If8315781572af688ea1c1b14b3694b828f076b4a
2021-06-23 16:39:13 +02:00
..
annotations MWExternalLinkAnnotation: Call core method to evaluate diff 2021-01-22 17:33:24 +00:00
metaitems MWCategoryMetaItem: Allow trailing whitespace (e.g. \n) in category names 2020-10-06 12:17:30 -07:00
models Revert "Revert "Fall back from explicit parameter order to TemplateData sort"" 2021-06-23 16:39:13 +02:00
nodes Inline many var declarations in the code below 2021-06-23 09:02:24 +00:00
.eslintrc.json build: Update eslint-config-wikimedia to 0.16.0 2020-06-02 21:30:00 +01:00
ve.dm.MWWikitextSurface.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.dm.MWWikitextSurfaceFragment.js Remove/fix a few small pieces of unused code 2021-05-21 11:43:45 +00:00