How do you embed linefeeds in a mediawiki?

In a text editor (notepad) I create text similar to this

=Heading= * item1 * item2 * item3 

Then I try to copy and paste this into the mediawiki and turn it into

 =Heading= * item1 * item2 * item3 

How do I make mediawiki on STOP delete the end of lines in preformatted text?

+6
source share
2 answers

The problem is that you need to disable Show edit toolbar (requires JavaScript) under My Preferences->Editing

With this, when copying and pasting, there are problems with linear translations. With this, the problems go away.

+6
source
Answer

@gman no longer works (using WikiEditor version 0.3.1).

If you are just a wiki editor, you need to uncheck

  Enable navigable table of contents 

under

  My Preferences->Labs features 

If you are the owner of the wiki, you must add this line to the 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 causing the row to malfunction.

+7
source

Source: https://habr.com/ru/post/922131/


All Articles