Last modified: 2014-11-17 19:04:56 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 T57769, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 55769 - VisualEditor: Copying and pasting results in new blank section heading: "== <nowiki /> =="
VisualEditor: Copying and pasting results in new blank section heading: "== <...
Status: PATCH_TO_REVIEW
Product: VisualEditor
Classification: Unclassified
ContentEditable (Other open bugs)
unspecified
All All
: Normal normal
: VE-deploy-nextup
Assigned To: James Forrester
:
Depends on: 49452
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-15 23:52 UTC by WhatamIdoing
Modified: 2014-11-17 19:04 UTC (History)
5 users (show)

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


Attachments

Description WhatamIdoing 2013-10-15 23:52:55 UTC
Intention:  To create a block of text to check line wrapping.


Expectation:  That I'd end up with a block of plain paragraph-formatted text.


Steps to reproduce:

1)  Start with a page containing some text and a few section headings.  In my case, it was a list.  

2)  Select all the text in one section using arrow/cursor keys, including all of the last line (including the blank part at the end of the paragraph), but none of the section heading that follows.

4)  Copy this.

5)  Make a new, blank paragraph-formatted line.

6)  Paste the copied text into the new line.


Results:  You get the desired paragraph, followed by a == <nowiki /> == section heading.

See https://en.wikipedia.org/w/index.php?title=User:Whatamidoing_(WMF)/sandbox&diff=577354576&oldid=577352415

(For bonus points, if you skip step #5, you'll get your pasted text set to ==Section heading== formatting.)
Comment 1 WhatamIdoing 2013-10-15 23:53:30 UTC
This may be related to bug 49452 and/or bug 50100
Comment 2 Gerrit Notification Bot 2014-09-23 18:29:39 UTC
Change 162310 had a related patch set uploaded by Jforrester:
MWHeading: Don't put self in output if contents are blank or whitespace

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

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


Navigation
Links