Last modified: 2014-10-22 22:06:58 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T71340, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 69340 - Inconsistent behaviour when copy/pasting text with a link
Inconsistent behaviour when copy/pasting text with a link
Status: RESOLVED WORKSFORME
Product: VisualEditor
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Editing team bugs – take if you're interested!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-08-09 13:57 UTC by Željko Filipin
Modified: 2014-10-22 22:06 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Željko Filipin 2014-08-09 13:57:01 UTC
Reproduced at:

- https://test2.wikipedia.org

Scenario #1

- go to https://bugzilla.wikimedia.org/show_bug.cgi?id=1
- copy bug title: Bug 1 - (documentation) Documentation is out of date, incomplete (tracking)
- create completely empty page (example: https://test2.wikipedia.org/wiki/Empty_page)
- click "Create" to start visual editor
- paste the bug title
- "Bug 1" is not a link (example: https://test2.wikipedia.org/w/index.php?title=Empty_page&action=edit)
Comment 1 Željko Filipin 2014-08-09 14:05:09 UTC
Scenario #2

- go to page with unordered list
- paste the bug title in new list item
- instead of one link to bug 1, two links are created
- one to bug 1, the other one to page named Bug (see https://test2.wikipedia.org/w/index.php?title=Empty_page&diff=97900&oldid=97899)
Comment 2 Željko Filipin 2014-08-09 14:07:24 UTC
Scenario #3

- go to the same page
- paste the bug title at a new list item
- instead of link to bug 1, link to Bug page is created (see https://test2.wikipedia.org/w/index.php?title=Empty_page&diff=97901&oldid=97900)
Comment 3 Željko Filipin 2014-08-09 14:18:44 UTC
Scenario #4

- go to a page with soft redirect and an existing link (example: https://test2.wikipedia.org/w/index.php?title=VEbug&oldid=97910)
- paste the bug title in new line
- text "Bug 1", instead of being link to bug 1, is a link to the existing link on the page (see https://test2.wikipedia.org/w/index.php?title=VEbug&diff=97911&oldid=97910)
Comment 4 James Forrester 2014-10-22 22:06:58 UTC
I can't reproduce this now; did you accidentally switch after the first test (which is as expected from what I can read) to a VE copy of the link (which is allowed)?

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links