Last modified: 2014-02-08 16:26:34 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 T21547, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 19547 - Quotes inside of <math>\text{...}</math> leads to lexing errors.
Quotes inside of <math>\text{...}</math> leads to lexing errors.
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Math (Other open bugs)
unspecified
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikibooks.org/w/index.php?t...
: patch, patch-need-review
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-07-06 09:05 UTC by Nicholas Longo
Modified: 2014-02-08 16:26 UTC (History)
4 users (show)

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


Attachments
The following extends the patch extends the characters allowed in TeX boxes to include quotes. (783 bytes, patch)
2010-12-17 21:41 UTC, Nicholas Longo
Details

Description Nicholas Longo 2009-07-06 09:05:58 UTC
While working at wikibooks recently I found the following problem:
*<math>\text{next year's}</math> leads to lexing errors
*<math>\text{next years}</math> does not.
Comment 1 Nicholas Longo 2010-12-17 21:41:14 UTC
Created attachment 7916 [details]
The following extends the patch extends the characters allowed in TeX boxes to include quotes.
Comment 2 Nicholas Longo 2011-04-28 18:24:07 UTC
Patch applied
Comment 3 Nicholas Longo 2011-05-02 18:18:37 UTC
Forgot to mention this was fixed in revision r87092
Comment 4 Brion Vibber 2011-09-13 21:11:47 UTC
r87092 and others have been reverted pending test cases and further review.

Is the single quote the only relevant character here? I notice that double quotes also don't work; indeed there seems to be a very large set of things that don't work. What limitations should actually be applied, and what is/isn't legal in here?
Comment 5 Brion Vibber 2011-09-13 22:27:01 UTC
Reapplied as r97018 with a parser test case.

I'd still like to confirm whether more chars need to be supported here or how all this is supposed to work...

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


Navigation
Links