Page MenuHomePhabricator

empty link parameter inside image transclusion inside a templates breaks the Template editor
Closed, ResolvedPublic0 Estimated Story Points

Description

Take the following fragment:

{{intro to|

[[File:Image-x-generic.svg|right|140px|link=]]
Inserting a new image into a Wikipedia article is a two-step process. First it has to be '''uploaded''' to be stored on the [[commons:main|Wikimedia Commons]]. It can then be '''inserted''' into one or more Wikipedia pages. Uploaded images are free for anyone to use ([https://creativecommons.org/licenses/by-sa/4.0/ with some conditions]). This tutorial introduces you to the process up uploading and inserting images, as well as the relevant rules and guidelines.
}}

It seems the empty content of link= inside the image inclusion inside the template confuses the editor tool. See also the attached screenshot showing the editor dialog of the page in question.

Screen Shot 2015-11-26 at 13.49.38.png (493×507 px, 47 KB)

(don't mind the yellow, that's my personal styling.

Event Timeline

TheDJ raised the priority of this task from to Needs Triage.
TheDJ updated the task description. (Show Details)
TheDJ subscribed.
Jdforrester-WMF added a project: Parsoid.
Jdforrester-WMF set Security to None.
Jdforrester-WMF edited a custom field.
Jdforrester-WMF moved this task from To Triage to Freezer on the VisualEditor board.
Arlolra claimed this task.
Arlolra subscribed.

This was purely a Parsoid issue fixed in the subtask.

Deskana changed the point value for this task from 8 to 0.Jul 25 2017, 10:47 PM
Deskana subscribed.

@Arlolra Thank you!