Last modified: 2013-04-01 13:34:22 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T48753, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 46753 - Bug in syntaxhighlight for lang=lua
Bug in syntaxhighlight for lang=lua
Status: RESOLVED DUPLICATE of bug 45669
Product: MediaWiki extensions
Classification: Unclassified
Scribunto (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-04-01 11:44 UTC by Yannick Perret
Modified: 2013-04-01 13:34 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Yannick Perret 2013-04-01 11:44:33 UTC
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.
Comment 1 Brad Jorsch 2013-04-01 13:34:22 UTC

*** This bug has been marked as a duplicate of bug 45669 ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links