VisualEditor: Transclusion editor should should give an "are you sure?" message if an unknown template is selected
Open, NormalPublic

Description

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

Details

Reference
bz52449
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?

Non-existent?

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)

Non-existent?

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. :-)