"This is an interesting problem. You are right that the TinyMCE editor isn't displaying the page exactly as it shows when displayed by mediawiki. This is because mediawiki ignores the blank line that you have inserted after the picture and before the title. This blank line is not needed, as the effect of the 'none' parameter is that whatever text follows will be displayed on a new line anyway".
I understand it. I just like neatness in the code, so I made one space between the texts and codes. I mean it:
https://images89.fotosik.pl/263/416a238560442a26.png
If I did not make space between content then the source would look like this:
https://images90.fotosik.pl/263/b77218aa8a4c015d.png
"The problem is, if Tinymce hides this blank line then you would not know it is there if you wished to edit it. This might lead to strange results. I could replace the blank line with a placeholder character so that it shows up in TinyMCE editor which would allow it to be edited? This approach is used where a new line is used in a line of wiki text, which mediawiki also ignores".
Do you want to check it out? Does this solution make sense? I have no idea, you are a programmer and what do you think about it?
"Alternatively, you might just remove the blank line after the picture and then both TinyMCE and mediawiki would display the same? In fact, there is a bug in the current code which in effect does exactly this if you save the page without making any changes?"
An empty line, I mean "larger space" is created only if this code is added. Look at the screen, I marked it with a red frame.
https://images91.fotosik.pl/263/9932b9a2b13094dc.png
https://images90.fotosik.pl/263/73c66a11cc952c3d.png