Page MenuHomePhabricator

Make the TemplateData fetch and fallback link work when the template is being substituted
Open, LowPublic

Description

If add template "Subst:TName" then open template editor
if template without templateData then text "text may be on template page" and link to "Template:Subst:TName"
link should be "Template:TName" and "Subst:" should be cut

Also, the documentation can not be read from Template:TName/doc because it is trying to read from Template:Subst:TName/doc

Also, when writing in the search template name "Subst:TNa...", then there is no drop-down list

Event Timeline

Sunpriat created this task.Jan 13 2015, 9:40 PM
Sunpriat updated the task description. (Show Details)
Sunpriat raised the priority of this task from to Needs Triage.
Sunpriat added a project: VisualEditor.
Sunpriat added a subscriber: Sunpriat.
Sunpriat updated the task description. (Show Details)Jan 20 2015, 8:52 AM
Sunpriat set Security to None.

I think that we have a task somewhere else to allow users to determine substitution status properly (i.e. with an actual input control), rather than having to append 'subst:' which breaks in the ways you describe here.

Jdforrester-WMF renamed this task from Link to doc when template subst to Make the TemplateData fetch and fallback link work when the template is being substituted.
Jdforrester-WMF triaged this task as Low priority.
Jdforrester-WMF moved this task from To Triage to Freezer on the VisualEditor board.
Jdforrester-WMF raised the priority of this task from Low to Needs Triage.
Jdforrester-WMF triaged this task as Low priority.