Page MenuHomePhabricator

Cannot re-add removed parameter in TemplateData GUI
Closed, ResolvedPublic

Description

If a parameter is added to the TemplateData GUI and then removed it cannot be added again later.

To reproduce:

  1. Open the TemplateData GUI in any template
  2. Add the parameter "foo"
  3. Remove the parameter "foo"
  4. Add the parameter "foo"

Event Timeline

Lokal_Profil raised the priority of this task from to Needs Triage.
Lokal_Profil updated the task description. (Show Details)
Lokal_Profil added a project: TemplateData.
Lokal_Profil subscribed.
Jdforrester-WMF triaged this task as High priority.
Jdforrester-WMF set Security to None.
gerritbot subscribed.

Change 182980 had a related patch set uploaded (by Jforrester):
Allow the restoration of a deleted parameter in the edit dialog

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

Patch-For-Review

Change 182980 merged by jenkins-bot:
Allow adding a deleted parameter in the templatedata dialog

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

Change #1031030 had a related patch set uploaded (by Thiemo Kreuz (WMDE); author: Thiemo Kreuz (WMDE)):

[mediawiki/extensions/TemplateData@master] Drop unused "Restore parameter" messages and code

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

Change #1031030 merged by jenkins-bot:

[mediawiki/extensions/TemplateData@master] Drop unused "Restore parameter" messages and code

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