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

           Summary: Template Parser does not treat an Ideographic space 3000
                    as whitespace
           Product: MediaWiki
           Version: 1.16-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: Normal
         Component: Templates
        AssignedTo: [email protected]
        ReportedBy: [email protected]


According to http://www.mediawiki.org/wiki/Help:Parser_functions_in_templates 

        {{#if: {{{1|}}} | Parameter 1 is defined and non-null/non-empty. |
Parameter 1 is not defined, or is defined but null. It contains only empty
string(s) or breaking space(s) etc.}}

    Result
        Parameter 1 is not defined, or is defined but null. It contains only
empty string(s) or breaking space(s) etc.

But if Parameter 1 contains an Ideographic space 3000 rather an ASCII space 20
then it is treated as non-null.

This affects users editing a Latin based Wikipedia (i.e.. English) with a Asian
based computer (i.e.. Japanese).

For example see this edit:

http://en.wikipedia.org/w/index.php?title=Kawagoe_Station&diff=306196218&oldid=305944473

which changes the spaces from U 3000 to U 20 and the "statistics" line in the
Station infoboxes are then correctly formatted.

The U 3000 space should be evaluated as whitespace within a template if
function.


-- 
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to