Last modified: 2014-05-09 23:00:12 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 T67017, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 65017 - NTOC strips newlines on paste
NTOC strips newlines on paste
Status: RESOLVED WONTFIX
Product: MediaWiki extensions
Classification: Unclassified
WikiEditor (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-07 20:15 UTC by Ryan Davis
Modified: 2014-05-09 23:00 UTC (History)
3 users (show)

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


Attachments

Description Ryan Davis 2014-05-07 20:15:48 UTC
When pasting text from a text editor into editor window with 'Navigable Table Of Contents' turned on, newlines are automagically removed on save/preview.

Browsers tested: Chrome.
OSs tested: Linux, and have asked a friend to check Windows Will update.

Steps to reproduce:
1) Turn on 'Navigable Table Of Contents' in Preferences/Editor
2) Open page for editing.
3) Copy text from text editor containing newlines.
4) Paste text into editor (it will show correctly)
5) Save or preview.

Pasted text will have all newlines removed (not replaced with whitespace). The version in the editor window will also lack newlines now.

Workaround: Disable 'Navigable table of contents' in preferences/edit.
Comment 1 Andre Klapper 2014-05-09 12:04:37 UTC
I don't see any such option on e.g. https://www.mediawiki.org/wiki/Special:Preferences#mw-prefsection-editing

'Navigable Table Of Contents' sounds like stuff from an older version of either UsabilityInitiative or WikiEditor?

In any case, Navigable TOC is not being worked on anymore.
Comment 2 Derk-Jan Hartman 2014-05-09 17:02:12 UTC
Yes if you are a user of this feature, be aware that is has been removed from master last month, because it had not been maintained for over 4 years and never really did work even when it was launched.
Comment 3 Ryan Davis 2014-05-09 23:00:12 UTC
That explains it. Removing the option is a perfectly good resolution. I don't administrate the wiki where I encountered this. I'll pass this along upstream. Thank you all.

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


Navigation
Links