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

           Summary: preprocessor fail at parsing more than two
                    back-to-back nested elements
           Product: MediaWiki
           Version: unspecified
          Platform: All
               URL: http://de.wikipedia.org/wiki/Spezial:Vorlagen_expandie
                    ren?input={{{{{{x}}x}}x}}&generate_xml=1
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: Page rendering
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: andbe...@web.de


Created attachment 8264
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=8264
proposed patch

When there is a piece with lots of opening braces at the stack, which should
get three or more elements, just the two topmost are recognised. The rest will
be handled as $skippedBraces even when it would be enough to create an element.
This problem of course is very rare and and can be simply worked around by some
whitspaces, but I guess this behavior is not intended.
I tried to write a patch, hoping not to create PHP syntax errors :-)

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