In a text editor (notepad) I create text like this
=Heading=
* item1
* item2
* item3
Then I try to copy and paste that into mediawiki and it turns it into
=Heading= * item1 * item2 * item3
How do I get mediawiki to STOP removing the end of lines in pre-formatted text?
@gman's answer no longer works (using WikiEditor version 0.3.1).
If you are just a wiki editor you actually need to uncheck
Enable navigable table of contents
under
My Preferences->Labs features
If you are the host of the wiki, you should add this line to your LocalSettings.php file:
$wgDefaultUserOptions['usenavigabletoc'] = 0;
This disables the navigation column on the right side of the wiki editor for all users, which seems to be the cause of the line breaks not working properly.
The issue is you need to turn off Show edit toolbar (requires JavaScript)
under My Preferences->Editing
With that on copy and paste has issues with linefeeds. With it off the issues go away.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With