Last modified: 2013-09-06 19:05:44 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T54567, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 52567 - Captions in inline images aren't generated.
Captions in inline images aren't generated.
Status: RESOLVED DUPLICATE of bug 48958
Product: Parsoid
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: High normal
: ---
Assigned To: C. Scott Ananian
:
Depends on:
Blocks: 49942
  Show dependency treegraph
 
Reported: 2013-08-06 01:01 UTC by C. Scott Ananian
Modified: 2013-09-06 19:05 UTC (History)
2 users (show)

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


Attachments

Description C. Scott Ananian 2013-08-06 01:01:15 UTC
The spec says that captions in inline images should be encapsulated in a 'data-mw' attribute.

Related: bug 49942 (tables in image captions), bug 48958 (missing alt), bug 48924 (empty alt captions).
Comment 1 Gabriel Wicke 2013-08-13 18:00:48 UTC
The caption should be parsed to DOM separately to ensure proper nesting. The DOMFragment mechanism might be helpful, although it might not directly work inside figure content (didn't check).
Comment 2 C. Scott Ananian 2013-09-06 19:05:19 UTC
Subbu is working on a fragment parser patch which should be helpful here.
Comment 3 Gabriel Wicke 2013-09-06 19:05:44 UTC

*** This bug has been marked as a duplicate of bug 48958 ***

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


Navigation
Links