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

       Web browser: ---
            Bug ID: 46753
           Summary: Bug in syntaxhighlight for lang=lua
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Scribunto
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]
    Classification: Unclassified
   Mobile Platform: ---

It seems that the syntax highlighter fails to handle long tables definitions.
In case of long tables the printed code is croped: the long table is not
printed at all and the code that follows is not printed.

It is visible in standard wikitext using syntaxhighlight tag (with lang="lua")
and when reading a module code.

You can see the problem here:
http://fr.wikipedia.org/w/index.php?title=Module:Lambdacolor&oldid=91562322

Look that the printed code starts in the middle of a code, but if you try to
edit it the code is same.
Adding newlines in the tables definition don't helps:
http://fr.wikipedia.org/w/index.php?title=Module:Lambdacolor&oldid=91564566

It seems that inserting a comment helps to "reset" the rendering: the comment
is printed and the following code is printed in the right way (but the tables
are still not printed):
http://fr.wikipedia.org/w/index.php?title=Module:Lambdacolor&oldid=91564683

Regards,
--
Y.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to