Last modified: 2011-05-19 15:26:51 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 T12930, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 10930 - texvc does not add <span class="texhtml"> to plain ASCII input in HTML output mode, if in "MathML if possible" mode
texvc does not add <span class="texhtml"> to plain ASCII input in HTML output...
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.wikipedia.org/wiki/User:Sim...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-08-14 21:26 UTC by Aryeh Gregor (not reading bugmail, please e-mail directly)
Modified: 2011-05-19 15:26 UTC (History)
4 users (show)

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


Attachments

Description Aryeh Gregor (not reading bugmail, please e-mail directly) 2007-08-14 21:26:15 UTC
See URL for examples.

Expected result: Any input to <math> gets italicized and put in a serif font, due to wrapping in <span class="texhtml">.

Actual result: Any input that uses no LaTeX commands and only uses ASCII characters is outputted with whitespace stripped but otherwise as-is, not wrapped in any HTML tag.
Comment 1 Aryeh Gregor (not reading bugmail, please e-mail directly) 2008-02-12 21:30:57 UTC
This has nothing to do with CSS, it's a bug in texvc.  Removing bug 12788 dependency.
Comment 2 Conrad Irwin 2010-04-03 15:14:46 UTC
All the examples on the given page are now italic, and wrapped with class="texhtml".
Comment 3 Aryeh Gregor (not reading bugmail, please e-mail directly) 2010-04-04 00:57:24 UTC
Okay, turns out it was due to the preference "MathML if possible (experimental)".  It seems it works as expected in all other cases.  Maybe this setting is buggy and should be removed?  What is it actually expected to do, for text/html output?

Actually, in general, it seems like we could cut down on the options here a lot.  "Leave it as TeX (for text browsers)" seems redundant to "Always render PNG", because of our use of alt text.  "Recommended for modern browsers" needs to be either 1) removed, 2) renamed, or 3) set as the default, because presumably by the standards of whenever it was added, all browsers are modern by now . . . or if not, explain what "modern" means (not IE?).  That's a separate bug, though.
Comment 4 Nicholas Longo 2011-05-19 15:26:51 UTC
I have tested this on a more recent mediawiki install then is being used on wikimedia wiki's and it no longer seems to be an issue.  Though I am not sure in which revision it was fixed.  Also I know that several depend on "Leave as TeX..." so that they can use mathjax as an alternate render, see [[w:Help_talk:Displaying_a_formula#Formulas_as_SVG.3F]] for more info.  But the comments about Modern Browsers seem very appropriate.

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


Navigation
Links