https://bugzilla.wikimedia.org/show_bug.cgi?id=49829
Web browser: ---
Bug ID: 49829
Summary: Image insertion sets 'undefined' resource
Product: VisualEditor
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Editing Tools
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected]
Classification: Unclassified
Mobile Platform: ---
This is the DOM returned by the VE after inserting a new thumbnail:
<figure typeof="mw:Image/Frame" class=" mw-halign-right"><a rel="mw:thumb"
href="http://commons.wikimedia.org/wiki/File:Apples.jpg"><img
src="http://upload.wikimedia.org/wikipedia/commons/thumb/e/ee/Apples.jpg/100px-Apples.jpg"
width="100" height="150" resource="undefined"></a></figure>
Note the 'undefined' in the resource attribute. The resource is the image
target, so we notice that the link and the image named 'undefined' differ and
serialize as
[[undefined|link=http://commons.wikimedia.org/wiki/File:Apples.jpg|thumb]].
--
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