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

James Forrester <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|Unprioritized               |Normal
             Status|UNCONFIRMED                 |ASSIGNED
                 CC|                            |[email protected],
                   |                            |[email protected]
          Component|Editing Tools               |ContentEditable
           Assignee|[email protected]         |[email protected]
            Summary|VisualEditor: Template      |VisualEditor: Generated
                   |display glitches after      |blocks that create images
                   |editor reload.              |directly aren't converted
                   |                            |to use MW's skin
     Ever confirmed|0                           |1

--- Comment #1 from James Forrester <[email protected]> ---
This is an artefact of VisualEditor using Parsoid to render HTML originally,
but the MediaWiki PHP parser for updates. The HTML outputted by the two are
normally very similar, except for images - which, until we switch the PHP
parser our for Parsoid for rendering read HTML, which will involve re-writing
the entire skins system, amongst other minor issues. (See
http://parsoid.wmflabs.org/en/User:Excirial/Playground/Content?oldid=562754871
for the HTML returned to VisualEditor - note the use of <figure> rather than
<div class="thumb"> etc.)

This is an image that's created by a template, so we're not re-drawing it;
clearly in this case we should. Is this a special case for items that are
'typeof="mw:Transclusion mw:Image/Frame"', or should we be traversing the
template tree for all images inside generated blocks?

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