Last modified: 2013-11-12 23:38:13 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 T58956, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 56956 - Changing image alignment attribute adds the alignment instead of replacing it in wikitext
Changing image alignment attribute adds the alignment instead of replacing it...
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 20:58 UTC by Moriel Schottlender
Modified: 2013-11-12 23:38 UTC (History)
3 users (show)

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


Attachments

Description Moriel Schottlender 2013-11-12 20:58:17 UTC
This came up while working on the new media dialog in VisualEditor. When there's a change in an image align attribute, the resulting wikitext adds the new alignment keyword instead of replacing the original.

Initial wikitext:
[[File:image.png|thumb|right|caption goes here|466x466px]]

After changing the image to right alignment (removing tright and replacing with tleft, and replacing the align attribute in the image object) -- the resulting wikitext post save is this:

[[File:image.png|thumb|right|caption goes here|466x466px|left]]
Comment 1 Gabriel Wicke 2013-11-12 23:38:13 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