Last modified: 2013-06-06 17:42: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 T50916, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 48916 - Fix serialization of image captions
Fix serialization of image captions
Status: RESOLVED FIXED
Product: Parsoid
Classification: Unclassified
serializer (Other open bugs)
unspecified
All All
: High normal
: ---
Assigned To: Gabriel Wicke
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-05-28 22:32 UTC by ssastry
Modified: 2013-06-06 17:42 UTC (History)
4 users (show)

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


Attachments

Description ssastry 2013-05-28 22:32:50 UTC
The serializer looks for the image-class rather than the <figcaption> tag (line 1005 of the serializer)

-----
capNode = node.getElementsByClassName( 'mw-figcaption' )[0]
-----

Fix this and any other places in the serializer that are not compliant with the dom spec @ http://www.mediawiki.org/wiki/Parsoid/MediaWiki_DOM_spec#Images
Comment 1 Gabriel Wicke 2013-06-06 17:42:44 UTC
This particular bug is fixed. Other concrete issues with image handling will be tracked in separate bugs.

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


Navigation
Links