Page MenuHomePhabricator

Copy and paste of photo between articles separated the caption from the photo
Closed, ResolvedPublic1 Story Points

Description

Using the Visual Editor, I added a photo to the Princes Bridge article with this diff:

https://en.wikipedia.org/w/index.php?title=Princes_Bridge&type=revision&diff=831196465&oldid=828238615

In a subsequent VE edit, I repositioned the photo in the article to appear in a more chronological sequence. I used cut Ctrl-X and past Ctrl-V to do this with this diff:

https://en.wikipedia.org/w/index.php?title=Princes_Bridge&diff=next&oldid=831196465

As I wanted to put this photo also into the Joseph Brady (engineer) article and knowing I had it in my copy/paste buffer, I opened that article, positioned my cursor into the desired paragraph and pasted (Ctrl-V) with this diff:

https://en.wikipedia.org/w/index.php?title=Joseph_Brady_%28engineer%29&type=revision&diff=831196773&oldid=831195816

which disconnected the caption from the photo. On inspection of the source code, I could also see the return of what I thought was an old bug with the addition of a link field.

[[File:Princes_Bridge,_Melbourne,_1851_by_Joseph_Brady.jpg|link=https://en.wikipedia.org/wiki/File:Princes_Bridge,_Melbourne,_1851_by_Joseph_Brady.jpg|thumb]]
Painting of the 1851 Princes Bridge by [[Joseph Brady (engineer)|Joseph Brady]]

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMar 19 2018, 9:16 AM

Thanks, can you confirm your browser, as copy/paste handling varies a lot between them?

Change 420688 had a related patch set uploaded (by Esanders; owner: Esanders):
[VisualEditor/VisualEditor@master] Use paste API if *any* important elements have been dropped

https://gerrit.wikimedia.org/r/420688

Chrome 64.0.3282.186

Change 420688 merged by jenkins-bot:
[VisualEditor/VisualEditor@master] Use paste API if *any* important elements have been dropped

https://gerrit.wikimedia.org/r/420688

Change 421365 had a related patch set uploaded (by Jforrester; owner: Jforrester):
[mediawiki/extensions/VisualEditor@master] Update VE core submodule to master (bca1212a4)

https://gerrit.wikimedia.org/r/421365

Change 421365 merged by jenkins-bot:
[mediawiki/extensions/VisualEditor@master] Update VE core submodule to master (bca1212a4)

https://gerrit.wikimedia.org/r/421365

Deskana triaged this task as Normal priority.Mar 23 2018, 2:17 PM
Deskana set the point value for this task to 1.
Deskana closed this task as Resolved.