https://bugzilla.wikimedia.org/show_bug.cgi?id=4708


Aryeh Gregor <simetrical+wikib...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |simetrical+wikib...@gmail.co
                   |                            |m




--- Comment #5 from Aryeh Gregor <simetrical+wikib...@gmail.com>  2009-05-14 
20:53:25 UTC ---
(In reply to comment #4)
> On one hand, I can see several uses for leaving a parameter without a value 
> (in
> an infobox, for example, for later filling -- that would greatly simplify the
> code in the template size, by removing all those ugly #if: tests).

Which #if tests could be removed?  You'd still need to check if it's defined to
know if you should render the row, typically.

> On the other hand, I can't think of any reason one would want to explicitly 
> set
> a parameter to an empty string

You would if, for some reason, an empty value makes sense but is not the
default.  This is likely to occur in at least some cases.

> still, in that case, passing a whitespace
> (perhaps hardcoded as &nbsp; or &ensp;?) should suffice.

&nbsp; and &ensp; are definitely not whitespace.  They're entities, and are
therefore explicitly *not* treated as whitespace.  Unless you meant the
corresponding Unicode characters, which would cause complete confusion.  I
don't see any way that this proposal would allow passing whitespace in the
event you really did want it, which would be an unacceptable loss of
flexibility.

On top of that, the change would most likely break thousands of templates
across many wikis -- any significant behavior like this is likely to be relied
upon by some people.  So I'd be strongly inclined to WONTFIX.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to