Last modified: 2013-11-12 23:41:30 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 T58957, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 56957 - When changing image type, the type is added to the wikitext instead of replacing the old one
When changing image type, the type is added to the wikitext instead of replac...
Status: RESOLVED DUPLICATE of bug 48665
Product: Parsoid
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: C. Scott Ananian
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-12 21:01 UTC by Moriel Schottlender
Modified: 2013-11-12 23:41 UTC (History)
3 users (show)

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


Attachments

Description Moriel Schottlender 2013-11-12 21:01:49 UTC
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]]
Comment 1 Gabriel Wicke 2013-11-12 23:41:30 UTC

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

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


Navigation
Links