Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 328206 - MediaWiki to DITA ignores image caption
Summary: MediaWiki to DITA ignores image caption
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 1.4.0   Edit
Assignee: David Green CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-20 02:18 EDT by Jarno Elovirta CLA
Modified: 2011-01-05 11:10 EST (History)
0 users

See Also:


Attachments
mylyn/context/zip (3.44 KB, application/octet-stream)
2010-10-21 14:11 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 Jarno Elovirta CLA 2010-10-20 02:18:09 EDT
When converting MediaWiki documents that use image captions to DITA, captions are ignored. For

  [[Image:images/editor-assist-proposals.png|alt=Alternative text|Caption text.]]

the generated DITA is

  <image href="images/editor-assist-proposals.png" alt="Alternative text"/>

To retain caption, a fig element should be used as a wrapper:

  <fig>
    <title>Caption text.</title>
    <image href="images/editor-assist-proposals.png" alt="Alternative text"/>
  </fig>

Tested with WikiText standalone mylyn-wikitext-standalone-3.5.0.I20100926-0400.
Comment 1 David Green CLA 2010-10-21 14:11:03 EDT
Thanks for the bug!  Fixed in CVS.
Comment 2 David Green CLA 2010-10-21 14:11:04 EDT
Created attachment 181430 [details]
mylyn/context/zip