Line breaks gone after upgrade
Mediawiki 1.16.0, PHP 5.2.6-2ubuntu4.6, MySQL 5.0.67-0ubuntu6.1
I'm running a wiki on our intranet, so I can't share the URL with you guys.
Previously I was using Mediawiki 1.13.2 and everything was peachy.
A little while ago I upgraded to 1.15.1 and yesterday to 1.16.0.
Since the 1.15.1 upgrade I encountered the following problem.
Text that looked like this:
information field1: some value
information field2: another value
Now looks like this: information field1: some value information field2: another value
All the line breaks are gone, except for the places with an empty line.
Why this change? Most of our wiki looks like crap now and I just can't edit all those pages to add a <br /> whenever I want to start a new line.
Is there another solution to my problem, short of downgrading back to 1.13.x?
Nobody? :(
same problem here. i hate it.
Try 2 newlines.
Actually, besides the fact that it is an ugly solution, it would also require me to edit a LOT of pages. Something has changed between upgrades and I want to revert that change, if possible.
I don't know then.
Why not tweak the CSS? It looks like the way its handling the
tag? But, lazily, I do 2 newlines. They're calorie-free!
Using 2 newlines inside new pages is no problem, it's editing all the existing content that's a pain in the rear. I know it's not handled by css though, I figured that out by trying different skins and even disabling each css file (including Mediawiki:Common.css and similar). The output from the database query is being filtered or processed I think, but I can't figure out just how and where yet.
I am also interested in comments about this issue.
Line breaks are preserved in the source of the wiki page, and they are visible in the source HTML of the page, but they are rendered as HTML line breaks instead of being translated into forced line breaks by the parser.
An interesting note is that mediawiki.org and wikipedia.org don't seem affected by this issue. See : w:en:Wikipedia:Line_break_handling
It really looks like a bug, or at best, a regression.
In case anyone is still interested in this issue, I came across an interesting case.
The line breaks that were missing after my upgrade were caused by an open <p> tag burried inside a template present in these pages. There was no closing tag for that paragrah.
Apparently, before the upgrade, Mediawiki didn't care for closing paragraph tags. After the upgrade, it did.