Last modified: 2013-04-22 16:16:22 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 T42750, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 40750 - Regression: Image widths in wikitext are being lost in parsed output
Regression: Image widths in wikitext are being lost in parsed output
Status: RESOLVED FIXED
Product: Parsoid
Classification: Unclassified
token-stream transforms (Other open bugs)
unspecified
All All
: Normal normal
: ---
Assigned To: ssastry
: code-update-regression
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-10-03 21:48 UTC by ssastry
Modified: 2013-04-22 16:16 UTC (History)
3 users (show)

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


Attachments

Description ssastry 2012-10-03 21:48:05 UTC
Test case: [[Image:foobar.jpg|640x480px]]

This is a regression introduced by the category-roundtripping code.  The code breaks because of a meta-tag introduced by the attribute-expander that interferes with the img-attr gathering code in the LinkHandler.  Our parser tests couldn't catch this regression because of differences in parser output for images.  As part of the fix, worth adding whitelisted output for those tests that include explicit image width in the wikitext.
Comment 1 Mark Holmquist 2012-10-12 16:42:53 UTC
https://gerrit.wikimedia.org/r/#/c/27423/

Assigning to subbu because he's already working on it.
Comment 2 ssastry 2012-10-12 21:42:27 UTC
Fixed in https://gerrit.wikimedia.org/r/#/c/27423/

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


Navigation
Links