Page MenuHomePhabricator

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

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

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:46 AM
bzimport set Reference to bz52449.

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?

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

Esanders claimed this task.
Esanders subscribed.

We now have a warning which is probably sufficient:

image.png (296×497 px, 18 KB)

Deskana set the point value for this task to 0.Feb 12 2018, 2:14 PM