Last modified: 2010-06-21 23:10:20 UTC
[[primality test|determine if <math>n</math> is prime]] produces a link with text "determine if NaodW29- math4b8d1f8b54027cbd00000007 is prime" on Wikipedia. It should render the math inside the actual <a> tag generated by MediaWiki. There may be similar problems with other 'special' items in link titles.
It's also broken when it's in the link target, e.g. [[<math>xyz</math>|xyz]]. It should be unstripped either way, like we do for headings.
*** Bug 5020 has been marked as a duplicate of this bug. ***
*** Bug 8172 has been marked as a duplicate of this bug. ***
It looks like things are now unstripped in link text - which means this works except for when the output of <math> is an HTML table, because it creates convoluted HTML. The result of [[<math>xyz</math>|hello]] is [[<i>xyz</i>|hello]] as might be reasonably expected - it doesn't really make sense to link to the output of a tag extension.