Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 356308

Summary: [Mediawiki] centered images not handled
Product: z_Archived Reporter: Nicolas Bros <nicolas.bros>
Component: MylynAssignee: Project Inbox <mylyn-triaged>
Status: RESOLVED WONTFIX QA Contact: David Green <greensopinion>
Severity: normal    
Priority: P3 Keywords: helpwanted
Version: 1.5   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
mylyn/context/zip none

Description Nicolas Bros CLA 2011-08-31 07:48:52 EDT
source:
[[Image:test.png|center]]

result:
<img align="middle" border="0" src="test.png"/>

the image is not centered
Comment 2 David Green CLA 2011-08-31 13:28:26 EDT
Thanks for the bug Nicolas.  Feel free to submit a patch.
Comment 3 Nicolas Bros CLA 2011-09-01 05:03:37 EDT
(In reply to comment #2)
> Thanks for the bug Nicolas.  Feel free to submit a patch.

Where in Mylyn's source can I find the code that emits the HTML and CSS for images?
Comment 4 David Green CLA 2011-09-01 12:07:38 EDT
I've attached a Mylyn context pointing to the relevant code.  (see org.eclipse.mylyn.internal.wikitext.mediawiki.core.token.ImageReplacementToken and org.eclipse.mylyn.wikitext.mediawiki.core.MediaWikiLanguageTest)

If you need help setting up your workspace, take a look at the contributor reference: http://wiki.eclipse.org/Mylyn/Contributor_Reference
Comment 5 David Green CLA 2011-09-01 12:07:49 EDT
Created attachment 202615 [details]
mylyn/context/zip
Comment 6 David Green CLA 2013-08-02 12:43:12 EDT
Closed as part of backlog clean-up.  Please re-open if you'd like to see this revisited, perhaps with a contribution.