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

           Summary: Adding better parsing for single closing braces at the
                    end of a parameter
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: Templates
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: umherirrender_de...@web.de


When have a parameter with a single braces at the end of the parameter, the
braces does not go to the parameter:

{{template|1={text}}} get parsed as {{template|1={text}} } (parameter 1 is
{text) not as {{template|1={text} }} (parameter 1 is {text}).

Adding a space behind the closing braces is the only way to avoid the wrong
parsing.

In my opinion the preprocessor should respect balanced single braces, so the
example get parsed better.

-- 
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