Last modified: 2012-05-03 02:42:48 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 33845 - Headings become cursive in TOC when they contain an image
Headings become cursive in TOC when they contain an image
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
All All
: Unprioritized normal (vote)
: 1.19.0 release
Assigned To: Nobody - You can work on this!
Depends on:
Blocks: 31217
  Show dependency treegraph
Reported: 2012-01-20 23:13 UTC by Thomas Bleher
Modified: 2012-05-03 02:42 UTC (History)
2 users (show)

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


Description Thomas Bleher 2012-01-20 23:13:17 UTC
When headings contain an embedded image, they are rendered in italics in the Table of contents (TOC).

Reproduced locally using current trunk (r109643) and on labs:

On the English wikipedia, the same input renders correctly (== all headings share the same font settings)
Comment 1 Antoine "hashar" Musso (WMF) 2012-01-21 13:45:19 UTC
This is caused by r102179 which allow <i.* tags.
Comment 2 Antoine "hashar" Musso (WMF) 2012-01-21 14:06:02 UTC
Similar issue with <blockquote> since r105284 allowed <b.* tags.
Comment 3 Platonides 2012-01-21 18:16:51 UTC
Fixed in r109682
Comment 4 Thomas Bleher 2012-01-21 18:43:12 UTC
Thanks everyone for the fast response and fix! It's now working correctly on my wiki!

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