Last modified: 2011-03-13 18:06:49 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.
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.
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.