Last modified: 2014-09-27 01:43:29 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 T61647, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 59647 - VisualEditor: Cutting (removing) last section on the page leaves blank section heading == <nowiki /> ==
VisualEditor: Cutting (removing) last section on the page leaves blank secti...
Status: PATCH_TO_REVIEW
Product: VisualEditor
Classification: Unclassified
Data Model (Other open bugs)
unspecified
All All
: Low minor
: ---
Assigned To: James Forrester
https://en.wikipedia.org/w/index.php?...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-01-04 16:36 UTC by WhatamIdoing
Modified: 2014-09-27 01:43 UTC (History)
8 users (show)

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


Attachments

Description WhatamIdoing 2014-01-04 16:36:06 UTC
Intention:
Rearrange the sections on a page

Steps to Reproduce:
1. Select the entire last section
2. Cut (Command-X) the section
3. Paste it elsewhere

Actual Results:  
The formatting for the section heading (not the formatting for the last line) remains at the end of the page.


Expected Results:  
The last line should either disappear entirely (be replaced by a slug) or be set to default/Paragraph styling

Reproducible: Always

Removing the blank section heading produced its own problems; look for the next bug report.
Comment 1 Gerrit Notification Bot 2014-09-23 18:29:34 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