Page MenuHomePhabricator

VE shuffles the order of template parameters in template dialog
Closed, ResolvedPublic

Description

Steps to reproduce

  1. Open any page on cswiki
  2. Open template dialog to add Citace monografie template, well documented template in TemplateData
  3. Notice author name and surname (jméno, příjmení) are not the first two parameters in that dialog

Expected behavior
The order of parameters in template dialog should not be alphabetical, but it should be the one specified in TemplateData and also used in the wikicode finally.

Current behavior
The order of the parameters in template dialog is alphabetical and not the one specified in TemplateData. Into the wikicode the correct order from TemplateData is used, which is correct.

Reported
many complaints on cswiki Facebook and tech village pump this week

Related Objects

Event Timeline

Dvorapa updated the task description. (Show Details)
Dvorapa updated the task description. (Show Details)
JTannerWMF added a subscriber: JTannerWMF.

We will investigate.

Dvorapa updated the task description. (Show Details)

Change 674970 had a related patch set uploaded (by TK-999; author: TK-999):
[mediawiki/extensions/VisualEditor@master] ve.dm.MWTemplateModel: Preserve parameter ordering when no paramOrder exists

https://gerrit.wikimedia.org/r/674970

Change 674970 abandoned by Thiemo Kreuz (WMDE):

[mediawiki/extensions/VisualEditor@master] ve.dm.MWTemplateModel: Preserve parameter ordering when no paramOrder exists

Reason:

This happens since If831578.

https://gerrit.wikimedia.org/r/674970