Community
Participate
Working Groups
For example, this is not recognized as an image because of the italic style: [[Image:test.png|Example with ''italics'']]
Thanks for the bug. Relevant code is in the attached context. A fix for this bug should move to phrase modifiers for images.
Created attachment 203275 [details] mylyn/context/zip
Is it common to do this? From what I can see MediaWiki ignores these styles anyways. What is your use case?
(In reply to comment #3) > Is it common to do this? No, I don't think it's very common, but it can still be useful. You can consider it as a low priority feature. > From what I can see MediaWiki ignores these styles anyways. Maybe that's because I forgot the "thumb" attribute in my previous comment: [[Image:test.png|thumb|Example with ''italics'' and '''bold''']] I tested on "en.wikipedia.org" and it works there (see attached screenshot). > What is your use case? I just wanted to emphasize a word in an image caption.
Created attachment 206832 [details] screenshot of test image on en.wikipedia.org
Closed as part of backlog clean-up. Please re-open if you'd like to see this revisited, perhaps with a contribution.