https://bugzilla.wikimedia.org/show_bug.cgi?id=56957
Web browser: ---
Bug ID: 56957
Summary: When changing image type, the type is added to the
wikitext instead of replacing the old one
Product: Parsoid
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Mobile Platform: ---
This came up while working on the new Media dialog in VisualEditor. When
changing a block image type, for instance from 'thumb' to 'frameless', the new
type is added onto the wikitext instead of replacing the old type tag.
Original wikitext:
[[File:image.png|thumb|right|caption goes here|466x466px]]
After changing the type of the image to frameless (including all style changes
and type attribute) the resulting post-save wikitext is this:
[[File:image.png|thumb|right|caption goes here|466x466px|frameless]]
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l