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

bzimport set Reference to bz50439.
AzaToth created this task.Via LegacyJun 30 2013, 1:07 AM
Catrope added a comment.Via ConduitJul 9 2013, 7:15 PM

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.

Catrope added a comment.Via ConduitOct 22 2014, 7:07 PM

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

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.