Last modified: 2014-11-04 00:07:00 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 T74512, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 72512 - VisualEditor: Cut+paste of {{convert}} and {{cite web}} unleashes invasion of snowman clone army in endless loop
VisualEditor: Cut+paste of {{convert}} and {{cite web}} unleashes invasion of...
Status: RESOLVED FIXED
Product: VisualEditor
Classification: Unclassified
ContentEditable (Other open bugs)
unspecified
All All
: Highest major
: VE-deploy-2014-10-23 (1.25wmf5)
Assigned To: Editing team bugs – take if you're interested!
:
: 72491 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-10-25 14:00 UTC by Tilman Bayer
Modified: 2014-11-04 00:07 UTC (History)
6 users (show)

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


Attachments

Description Tilman Bayer 2014-10-25 14:00:22 UTC
Steps to reproduce:

* Open https://en.wikipedia.org/wiki/Snowman?veaction=edit

* Mark the sentence "It was 113 feet 7 inches (34.62 m) tall and weighed over 9,000,000 pounds (4,080,000 kg).[1]" and cut it (Strg+X).

* Paste it in again (Strg+V).

* Click before "It" to place the cursor at the beginning of the sentence.


Result: The editor starts adding copies of the sentence in an endless loop, with the templates (see below) replaced by snowmen:

"It was ☃☃ tall and weighed over ☃☃.☃☃It was ☃☃ tall and weighed over ☃☃.☃☃It was ☃☃ tall and weighed over ☃☃.☃☃It was ☃☃ tall and weighed over ☃☃.☃☃It was ☃☃ tall and weighed over ☃☃.☃☃It was ..."

(Actually, if one scrolls or clicks somewhere in the page, the loop may stop, but I've observed it going on for more than a minute, generating 378 copies of the sentence.)


Here is the wikitext source of the sentence:

"It was {{convert|113|ft|7|in|m}} tall and weighed over {{convert|9000000|lb|kg|-4}}.<ref>{{cite web|url=http://www.sundayriveron-line.com/AngusSnowman_1.htm|title=Angus, King of the Mountain &mdash; World's Largest Snowman|date=February 19, 1999|publisher=Sunday River On-Line|archiveurl=http://web.archive.org/web/20071012082219/http://www.sundayriveron-line.com/AngusSnowman_1.htm|archivedate=2007-10-12}}</ref>"
Comment 1 Tilman Bayer 2014-10-25 14:09:00 UTC
PS: Observed in Chromium 37 (no extensions) under Ubuntu both while logged in and while logged out. Under Firefox I can't even get the cutting (step 2) to work, which appears to be a separate bug.
Comment 2 James Forrester 2014-10-29 23:27:59 UTC
Yeah, sorry for this; fixed and back-ported on Monday. :-(
Comment 3 James Forrester 2014-10-30 18:16:28 UTC
*** Bug 72491 has been marked as a duplicate of this bug. ***
Comment 4 etonkovidova 2014-11-04 00:07:00 UTC
Checked in betalabs and test2 - seems to be fixed.

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


Navigation
Links