Last modified: 2011-03-13 18:06:49 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 T24206, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 22206 - <math>equation</math> inside [[internal reference link]] not shown in blue.
<math>equation</math> inside [[internal reference link]] not shown in blue.
Status: RESOLVED WONTFIX
Product: MediaWiki extensions
Classification: Unclassified
Math (Other open bugs)
unspecified
All All
: Lowest minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-01-21 07:54 UTC by Howard McCay
Modified: 2011-03-13 18:06 UTC (History)
3 users (show)

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


Attachments

Description Howard McCay 2010-01-21 07:54:02 UTC
Version:    1.16alpha-wmf(r59858).  I did not find this version in your list.

Hardware:   Toshiba Satellite L305.
OS:         Microsoft Windows Vista Home Premium.
Browser:    Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.16)
            Gecko/2009120208 Firefox/3.0.16
            Although I have not tested this bug in any other environment,
            I would be surprised if this bug were less than universal.

Component:  I used your Redirects category to report this minor bug because
            I could not find a category for internal cross reference link bugs.

Context:    If you are writing a mathematical article and you wish to create
            an internal cross reference reference link for a mathematical
            expression, you will want to enclose your <math>expression</math>
            in [[ ]], like [[actual page#section|<math>expression</math>]].

Problem:    A link like [[actual page#section|<math>expression</math>]] works
            correctly.  The only problem is that <math>expression<math> does
            not show in blue, so most readers will not know this is a link.
            <math></math> undoes the blue color in the text of the link.

Workaround: You cannot use <math>expression</math> as the text of the link.
            Instead you must rewrite the mathematical expression using HTML
            syntax with all the &special;, <sub></sub>, and <sup></sup> tags.
Comment 1 Bawolff (Brian Wolff) 2010-01-21 13:52:43 UTC
Theres another work around, use \color{blue} for example:

[[Main Page|
<math>
\color{blue}
x_2^3 = \frac{5}{y^2}
</math>]]

That could probably be worked into a template: [[{{{1}}}|{{#tag:math|\color{blue}{{{2}}}}}]]


removing easy keyword, as doesn't really seem that obvious how to go about fixing it (Assuming it should be fixed). Moving to product mediawiki extensions, component texvc.
Comment 2 Conrad Irwin 2010-06-22 00:50:40 UTC
This can be done pretty easily with templates, as Bawolff suggests, while it's almost impossible to implement in software.

Perhaps a better thing to do would be to create an extension that allows the creation of math-links {{#mathlink:pagename|x+y\over2}}, or somehow allow <math link="pagename">. That really belongs in extension requests though, and I don't think it's worth it. 

It will never be even close to correct as link color depends on skin, user-preference, page-existence, page length and page-visitedness; none of which can be known by the image renderer.

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


Navigation
Links