Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 356308 - [Mediawiki] centered images not handled
Summary: [Mediawiki] centered images not handled
Status: RESOLVED WONTFIX
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: 1.5   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: David Green CLA
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2011-08-31 07:48 EDT by Nicolas Bros CLA
Modified: 2013-08-02 12:43 EDT (History)
0 users

See Also:


Attachments
mylyn/context/zip (1.86 KB, application/octet-stream)
2011-09-01 12:07 EDT, David Green CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.