https://bugzilla.wikimedia.org/show_bug.cgi?id=56956

       Web browser: ---
            Bug ID: 56956
           Summary: Changing image alignment attribute adds the alignment
                    instead of replacing it in wikitext
           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
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]]

-- 
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

Reply via email to