Last modified: 2013-05-20 23:48:49 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 T49803, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 47803 - VisualEditor: For images, ensure that the HTML structure rendered in VE is the same as output by PHP parser so that styles/scripts work as expected and images look normal
VisualEditor: For images, ensure that the HTML structure rendered in VE is th...
Status: RESOLVED FIXED
Product: VisualEditor
Classification: Unclassified
ContentEditable (Other open bugs)
unspecified
All All
: Normal normal
: VE-deploy-2013-05-27
Assigned To: Inez Korczyński
https://de.wikipedia.org/wiki/Benutze...
:
Depends on:
Blocks: 48426
  Show dependency treegraph
 
Reported: 2013-04-28 21:42 UTC by Raimond Spekking
Modified: 2013-05-20 23:48 UTC (History)
4 users (show)

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


Attachments
Screenshot in edit mode (69.56 KB, image/png)
2013-04-28 21:42 UTC, Raimond Spekking
Details

Description Raimond Spekking 2013-04-28 21:42:56 UTC
Created attachment 12195 [details]
Screenshot in edit mode

Images on pages are normally included using the "thumb" syntax:

[[File:Foo.jpg|thumb|description]]

In the edit mode no thumb frame is shown, see screenhots.
Comment 1 James Forrester 2013-05-03 01:28:40 UTC
Hijacking this bug slightly. :-)

(This will probably be solved with an upstream bug with Parsoid for a post-parser to transform, but could be done in VE instead. Either way are messy; long term answer is for Parsoid-output to be the "read" HTML too, and have skins and scripts target that structure.)
Comment 2 Inez Korczyński 2013-05-10 20:04:57 UTC
For now we are going to fix it in VE directly. Parsoid will deliver us figure tags for block images and span tags for inline images, but VE is going to render div soup for block and image wrapped in an anchor for inline (maybe with few exceptions).
Comment 3 James Forrester 2013-05-20 23:48:49 UTC
This was fixed by Gerrit change #64367 which is now merged, but is 'experimental' and so will not go out for a short while. Marking as fixed within wmf5, though.

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


Navigation
Links