Page MenuHomePhabricator

VisualEditor should not add local "|link=https://..." links to file description when copying images from another page
Open, NormalPublic

Description

On
https://pt.wikipedia.org/w/index.php?title=M%C3%A9todo_das_transformadas_de_Laplace_para_resolver_equa%C3%A7%C3%B5es_diferencais&type=revision&diff=51919474&oldid=51909291
VisualEditor added

[[Ficheiro:Laplace7.pdf|ligação=https://pt.wikipedia.org/wiki/Ficheiro:Laplace7.pdf|semmoldura|400x400px]]

but it should add

[[Ficheiro:Laplace7.pdf|semmoldura|400x400px]]

as in this edit: https://pt.wikipedia.org/w/index.php?diff=51919734

Event Timeline

He7d3r created this task.Apr 27 2018, 3:35 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptApr 27 2018, 3:35 PM
Deskana added a subscriber: Deskana.May 1 2018, 6:41 PM

Reproduction steps would be helpful. Do you know what the user did to make this happen?

Vvjjkkii renamed this task from VisualEditor should not add local "|link=https://..." links to file description when adding images to 62daaaaaaa.Jul 1 2018, 1:13 AM
Vvjjkkii triaged this task as High priority.
Vvjjkkii updated the task description. (Show Details)
Vvjjkkii removed a subscriber: Aklapper.
Yann renamed this task from 62daaaaaaa to VisualEditor should not add local "|link=https://..." links to file description when adding images.Jul 1 2018, 1:56 PM
Yann raised the priority of this task from High to Needs Triage.
Yann updated the task description. (Show Details)
Yann added a subscriber: Aklapper.

I can reproduce this by copy-pasting the image from another article in VE edit mode.

matmarex renamed this task from VisualEditor should not add local "|link=https://..." links to file description when adding images to VisualEditor should not add local "|link=https://..." links to file description when copying images from another page.Aug 31 2018, 8:46 PM
ssastry triaged this task as Normal priority.Jun 10 2019, 8:50 PM
ssastry edited projects, added Parsoid-Edit-Support; removed Parsoid.
ssastry moved this task from Backlog to Link syntax (links & media) on the Parsoid-Edit-Support board.