Last modified: 2014-05-09 23:00:12 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.
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.
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.
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.