Page MenuHomePhabricator

VisualEditor: Transclusion editor should not allow parameters with unmet dependencies
Open, MediumPublicFeature

Description

The transclusion editor should not allow (or at least should warn about) template parameters with unmet dependencies.

For example in [[template:For]] parameter 4 has no effect unless parameter 3 is also specified, so the transclusion editor should not allow/warn about template 4 without an accompanying parameter 3. (parameter 3 is otherwise optional and can be present without parameter 4).

In at least some cite templates, parameter author2 requires the existence of author1, etc.

I'm fairly sure that this functionality depends on bug 50407, which requests that TemplateData allows dependency relationships like this to be defined.


Version: unspecified
Severity: enhancement

Details

Reference
bz53469