Page MenuHomePhabricator

Don't propose parameters which are just used as aliases instead
Closed, ResolvedPublic1 Estimated Story Points

Description

Снимок5.PNG (568×880 px, 51 KB)

https://ru.wikipedia.org/w/index.php?title=Шаблон:Статья/doc&action=edit&section=3
TemplateData editor proposes parameters, but they are already defined as aliases
This proposal appears every time you edit TD

I also used the word {{{parameter|}}} inside TD and doc, not in template, and TDeditor offers it to me as a parameter for the template!
https://ru.wikipedia.org/w/index.php?title=%D0%A8%D0%B0%D0%B1%D0%BB%D0%BE%D0%BD:Wikidata&action=edit
https://ru.wikipedia.org/w/index.php?title=%D0%A8%D0%B0%D0%B1%D0%BB%D0%BE%D0%BD:Wikidata/doc&action=edit
no need to look inside the tags templatedata and noinclude

Event Timeline

Sunpriat raised the priority of this task from to Needs Triage.
Sunpriat updated the task description. (Show Details)
Sunpriat subscribed.
Jdforrester-WMF renamed this task from TD editor: proposed parameters already in aliases to Don't propose parameters which are just used as aliases instead.Sep 3 2015, 7:46 PM
Jdforrester-WMF triaged this task as Low priority.
Jdforrester-WMF set Security to None.

Change 272986 had a related patch set uploaded (by Esanders):
Included aliases in getAllParamNames

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

Jdforrester-WMF assigned this task to Esanders.
Jdforrester-WMF removed a project: Patch-For-Review.
Jdforrester-WMF set the point value for this task to 1.

Change 272986 merged by jenkins-bot:
Included aliases in getAllParamNames

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