Last modified: 2014-02-19 22:04:50 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 T58400, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 56400 - Image alt attribute resolves without alt= in wikitext
Image alt attribute resolves without alt= in wikitext
Status: RESOLVED FIXED
Product: Parsoid
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: High normal
: ---
Assigned To: C. Scott Ananian
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-30 23:09 UTC by Moriel Schottlender
Modified: 2014-02-19 22:04 UTC (History)
1 user (show)

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


Attachments

Description Moriel Schottlender 2013-10-30 23:09:22 UTC
This is related to bug #48924 and came up while working on VE's new media dialog.

Symptoms :
1. Parsoid seems to ignore adding an alt attribute to an image that had no alt attribute previously -- the image still has no alt attribute post-save, even though the DM/CE in VisualEditor were both updated properly.

2. When the alt string in 'alt=something' is changed, the resulting wikitext post-save is produced without the 'alt='

So, an original wikitext:

[[File:Someimage.png|thumb|265x265px|some caption|right|alt=some alternate text]]

After editing the alt property in VE, the wikitext post-save becomes:

[[File:Someimage.png|thumb|265x265px|some caption|right|some alternate edited text]]
Comment 1 Gerrit Notification Bot 2013-12-23 15:08:47 UTC
Change 103082 had a related patch set uploaded by Cscott:
Edited image attributes should override data-parsoid value.

https://gerrit.wikimedia.org/r/103082
Comment 2 Gerrit Notification Bot 2014-01-08 00:40:26 UTC
Change 103082 merged by jenkins-bot:
Edited image attributes should override data-parsoid value.

https://gerrit.wikimedia.org/r/103082

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


Navigation
Links