Last modified: 2010-06-21 23:10:20 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 2144 - Strange results when <math> is embedded in link text.
Strange results when <math> is embedded in link text.
Product: MediaWiki extensions
Classification: Unclassified
Math (Other open bugs)
All All
: Low minor with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
: 5020 8172 (view as bug list)
Depends on:
  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: ---


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.