Page MenuHomePhabricator

VisualEditor: Transclusion dialog informing you that there are "no unused parameters" looks odd; improve message?
Open, LowPublic

Description

Screenshot

See screenshot; not sure this is how it's meant to look, but it's how it looks. If there are no unused parameters it seems like the box notifying you of such should overwrite, rather than sit under, the search box - that's unnecessary functionality if all available parameters exist.


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

Attached:

Details

Reference
bz50735

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 1:43 AM
bzimport set Reference to bz50735.

Possibly we could say "No known parameters" and "No more known parameters" to make it clearer?

Possibly? Offering people the ability to do something when the system knows it won't end in what they want probably isn't the direction we want to be going in, however.

(In reply to comment #2)

Possibly? Offering people the ability to do something when the system knows
it won't end in what they want probably isn't the direction we want to be
going in, however.

But the system doesn't 'know' that. TemplateData is hinting, not a binding-contract-of-doom. It's (intentionally) possible to add parameters that aren't in the hinting, because the hinting is out-of-date or doesn't cover this "secret" parameter, or because the name of your parameter is generated (e.g. {{CURRENTDAY}}=Easter Egg! or something more useful). Remember that there's almost no end to the level of flexibility that WT allows users…

Urk. Tis true. In particular, I'm thinking of scenarios where you have an infinite number of parameters (templates that merely order and format a set of inputted data, for example). "No more known parameters" would work.

Yes, "No more known parameters" would work.

Not essential, but if it's not too much work, including a link to an explanation (that there may be unknown parameters and that these can be used) and/or the template documentation (if there isn't one provided elsewhere on that view) would be good. Obviously both should open in a new window/tab.

  • Bug 54094 has been marked as a duplicate of this bug. ***

Just noting that bug 54094 (which was marked as a duplicate) is about the "Unknown parameter" message which appears (briefly) after the user has typed in '1'/'2' but not pressed enter yet.

(In reply to comment #5)

Yes, "No more known parameters" would work.
Not essential, but if it's not too much work, including a link to an
explanation (that there may be unknown parameters and that these can be used)
and/or the template documentation (if there isn't one provided elsewhere on
that view) would be good. Obviously both should open in a new window/tab.

That is essentially bug 49772.