Broken lines
Status: Beta
Brought to you by:
worden
Lines of wikitext output are breaking at the first $$...$$ construct, on our yushan installation but not on our lalashan installation (both MW 1.13).
See https://sourceforge.net/tracker/?func=detail&aid=3459513&group_id=366300&atid=1527385 for the beginning of this report.
Anonymous
My observation is that given a line like
the wiki outputs
that is, it makes the text before the math into a full paragraph. It doesn't do this before every math construct if there are multiple on the same line, only before the first one on a line.
It appears to be triggered by the debug output that accompanies the math (wrapped in a fieldset element, which is hidden unless a user takes steps to make it visible in css). If I set
$wwOutputDebugMessages = false, the line breaking bug goes way, even when the debug output is invisible. The value of$wgUseTidyseems to have no effect on this bug.Last edit: Lee Worden 2013-07-20
This bug is present on lalashan too, it turns out. I had $wwOutputDebugMessages = false there.
Workaround: don't enable the debug output for normal wiki use. Purge affected pages if needed.
mcmaster notes: this means we should (and now do) have $wwOutputDebugMessages = false in enable-ww.php and analogous scripts (enable-ww13.php and beta.php), and $wwOutputDebugMessages = true only in debug.php (and its counterpart on lalashan, profile.php).