VisualEditor: Transclusion editor should should give an "are you sure?" message if an unknown template is selected
Closed, ResolvedPublic0 Story Points


en.wp editor GermanJoe suggests that if you try to add a template not in the transclusion editor's list of known templates that it should give a warning or "are you sure?" message.

Such a message would note that very new templates might not appear in he list.

Version: unspecified
Severity: enhancement


bzimport raised the priority of this task from to Normal.
bzimport set Reference to bz52449.
Thryduulf created this task.Aug 2 2013, 9:23 AM

This feels like it could be a bit irritating as a modal alert, but maybe we could come up with something as effective whilst less in-your-face.

Unknown template = template with no TemplateData?


See comment #1?

(In reply to Alex Monk from comment #2)

Unknown template = template with no TemplateData?

(In reply to Alex Monk from comment #3)


It means "the API didn't claim to know about it existing". Given MediaWiki's… awkwardness about knowing whether or not a page actually exists I didn't want to assume something when I wrote it. :-)

Esanders closed this task as Resolved.Feb 12 2018, 2:13 PM
Esanders claimed this task.
Esanders added a subscriber: Esanders.

We now have a warning which is probably sufficient:

Restricted Application added a project: User-Ryasmeen. · View Herald TranscriptFeb 12 2018, 2:13 PM
Deskana set the point value for this task to 0.Feb 12 2018, 2:14 PM