Page MenuHomePhabricator

VisualEditor: Transclusion dialog should truncate spaces from parameter input
Closed, ResolvedPublic

Description

When adding/modifying a template, you can append a space to the parameter, and even if you have that parameter already used, you can add one more. As well you can add a (multiple) empty " " parameter.

Example template I made ended up as:

{{test|name = "

logo = '

"| = | = |logo = }}


Version: unspecified
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=61049

Details

Reference
bz50439

Event Timeline

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

Clarification: the transclusion dialog allows the user to create both "foo" and "foo " as separate parameters, but it shouldn't. It also allows the user to create the empty parameter (" ") multiple times.

This appears to be fixed now. You can't create both "foo" and "foo " any more.