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

James Forrester <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|[email protected]    |[email protected]
   Target Milestone|---                         |VE-deploy-2013-06-27
            Summary|VisualEditor: alt text      |VisualEditor: Uses of
                   |displayed as caption        |enwiki's {{Plain image with
                   |                            |caption}} cause alt text to
                   |                            |be displayed as a caption

--- Comment #3 from James Forrester <[email protected]> ---
It looks like this is [[File:…|right|«alt text»]] is getting wrongly
interpreted by Parsoid as a thumb image as opposed to a block image (which
doesn't have a caption):

[[File:{{Remove file
prefix|{{{1|{{{image<noinclude>|Example.svg</noinclude>}}}}}}}}|right|{{Str
number/trim|{{{3|{{{width|250px}}}}}}}}px|{{{2|{{{caption<noinclude>|Caption
goes here.</noinclude>}}}}}}]]

->

<figure class="mw-halign-right" typeof="mw:Image" data-parsoid="…">
  <a href="./File:Chloroplast_II.svg" data-parsoid="…"><img
resource="./File:Chloroplast_II.svg" src="…" height="344" width="360"
data-parsoid="…"></a>
  <figcaption class="mw-figcaption" data-parsoid="{}">Structure of a typical
higher-plant chloroplast</figcaption>
</figure>

(The <figcaption> shouldn't be set, and also there should be an alt="" set.)

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