Last modified: 2014-05-04 19:56:12 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 T27704, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 25704 - LaTeX tag with empty parameter not highlighted correctly
LaTeX tag with empty parameter not highlighted correctly
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
SyntaxHighlight (GeSHi) (Other open bugs)
unspecified
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/wiki/User:Qui...
: upstream
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-10-29 12:44 UTC by Jim
Modified: 2014-05-04 19:56 UTC (History)
5 users (show)

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


Attachments

Description Jim 2010-10-29 12:44:12 UTC
This is about the syntaxhighlight tag with lang="latex".  As can be seen on the English Wikipedia page for LaTeX, and on the test page linked to in the URL field, the syntax highlighting breaks if you have a tag with an empty parameter.  The syntax highlighter thinks that the parameter list hasn't finished, and formats the rest of the text as a parameter list until it next encounters a closing brace.

The example of this that is causing problems is the \LaTeX{} tag, which has empty braces afterwards to prevent LaTeX from swallowing the following space.
Comment 1 Niklas Laxström 2010-10-29 13:01:37 UTC
Issues in geshi itself must be reported to geshi bugtracker at http://sourceforge.net/tracker/?group_id=114997&atid=670231 thanks.
Comment 2 Jim 2010-10-29 16:18:26 UTC
Sorry about that: I've reported it there, bug 3098329.  Feel free to close this bug if you feel that it's most appropriate.  If it's left open then I will copy any important updates here from the GeSHi bug.

https://sourceforge.net/tracker/?func=detail&aid=3098329&group_id=114997&atid=670231
Comment 3 db [inactive,noenotif] 2010-10-29 18:14:17 UTC
The current version (live on wmf site) is 1.0.8.6.

What about "upstream" as keyword?
Comment 4 Jim 2010-10-29 23:14:23 UTC
I've updated the GeSHi bug with that info, thanks.  (I assume that the upstream keyword question was aimed at MW Bugzilla regulars.)
Comment 5 Jim 2011-02-05 16:22:22 UTC
From the bug on the GeSHi site: this is now fixed in CVS, and will be in the next stable release.  (The current stable version is 1.0.8.9, so presumably the next one will be something like 1.0.8.10.)
Comment 6 Bugmeister Bot 2011-08-19 19:12:43 UTC
Unassigning default assignments. http://article.gmane.org/gmane.science.linguistics.wikipedia.technical/54734
Comment 7 Bartosz Dziewoński 2014-05-04 19:56:12 UTC
Works for me today. We're using GeSHi 1.0.8.11 (with custom hacks) these days.

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


Navigation
Links