Last modified: 2014-06-22 22:37:18 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 T12434, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 10434 - <i> should be <var> in texvc HTML output
<i> should be <var> in texvc HTML output
Status: RESOLVED WONTFIX
Product: MediaWiki extensions
Classification: Unclassified
Math (Other open bugs)
unspecified
All All
: Low trivial with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on: 16719
Blocks: semantic-html
  Show dependency treegraph
 
Reported: 2007-07-02 11:46 UTC by Christopher Yeleighton
Modified: 2014-06-22 22:37 UTC (History)
4 users (show)

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


Attachments

Description Christopher Yeleighton 2007-07-02 11:46:00 UTC
Using the italic text tag for symbols is semantically incorrect: it does not distinguish symbols from other uses of italic text.  It would be better to replace it with the variable tag.
That is, <math >X</math > thould transform to <span class="texform" ><var >X</var ></span > instead of merrie olde <i >X</i >.
Comment 1 Christopher Yeleighton 2008-06-13 19:27:38 UTC
Except for constants: log <i >e</i > = 1, sin <i >&pi;</i > = 0, etc.
Comment 2 René Kijewski 2010-07-25 00:31:12 UTC
(In reply to comment #1)
> Except for constants: log <i >e</i > = 1, sin <i >&pi;</i > = 0, etc.

No need to differ here: Constants like e, pi, i ... should never be italic in TeX. The user has to tell when it is a variable and when it is a constant.
Comment 3 Aryeh Gregor (not reading bugmail, please e-mail directly) 2011-01-05 19:07:47 UTC
Constants such as e and i are traditionally italicized in mathematical typesetting, same as variables.  But I think <var> is appropriate for them anyway, even though they're not actually variables -- they're supposed to be presented the same as variables.
Comment 4 S. McCandlish 2012-03-04 12:29:33 UTC
I belatedly concur with Aryeh.  HTML's <var>...</var> isn't a declaration that something IS a variable, it's an instruction to the user agent to format it as one.
Comment 5 Tim Landscheidt 2012-04-21 14:00:25 UTC
As HTML support was disabled by 09679f2f39e6c6c00e87757292421b26bfa7022a, closing as WONTFIX.
Comment 6 S. McCandlish 2014-05-18 05:36:32 UTC
Tim Landscheidt, what does this mean?:
> As HTML support was disabled by 09679f2f39e6c6c00e87757292421b26bfa7022a, closing as WONTFIX.

The link that generated (to https://gerrit.wikimedia.org/r/#q,09679f2f39e6c6c00e87757292421b26bfa7022a,n,z) doesn't provide any information.  This bug is a bug, not a feature, and still needs to be fixed.

The var element has certainly not been "disabled" (deprecated) in HTML5, if that's what this meant: http://www.w3.org/html/wg/drafts/html/master/text-level-semantics.html#the-var-element
Comment 7 Tim Landscheidt 2014-06-22 22:37:18 UTC
I was referring to http://git.wikimedia.org/commit/mediawiki%2Fextensions%2FMath.git/09679f2f39e6c6c00e87757292421b26bfa7022a; with that commit, the support for HTML in Extension:Math was disabled, so no HTML is generated anymore.  MediaWiki 1.19 was released after that commit, so there's nothing left to fix.

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


Navigation
Links