Last modified: 2010-06-21 23:10:20 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 T4144, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 2144 - Strange results when <math> is embedded in link text.
Strange results when <math> is embedded in link text.
Status: RESOLVED WORKSFORME
Product: MediaWiki extensions
Classification: Unclassified
Math (Other open bugs)
unspecified
All All
: Low minor with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 5020 8172 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-05-11 04:29 UTC by Olathe
Modified: 2010-06-21 23:10 UTC (History)
4 users (show)

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


Attachments

Description Olathe 2005-05-11 04:29:03 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.
Comment 1 Tim Starling 2006-02-02 13:05:42 UTC
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.
Comment 2 lɛʁi לערי ריינהארט 2006-02-18 01:29:03 UTC
*** Bug 5020 has been marked as a duplicate of this bug. ***
Comment 3 Umang 2006-12-08 04:11:11 UTC
*** Bug 8172 has been marked as a duplicate of this bug. ***
Comment 4 Conrad Irwin 2010-06-21 23:10:20 UTC
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.

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


Navigation
Links