Page MenuHomePhabricator

Some templates eat paragraphs
Closed, InvalidPublic

Description

There is a new bug, causing
http://radioscanningtw.jidanni.org/index.php?title=%E6%A8%A1%E6%9D%BF:C
to eat the usual blank lines paragraph break above it.

With the exact same Mediawiki and the exact same browser, the results are different.
So it must depend on the PHP version.

Event Timeline

Using a blank line,

{{Digital}}

{{c|呼 漢水}} | {{c|DCS 654}} (救災救護指揮科)

was not good enough to get it to render properly. One needed a "hard" <p></p>!

The only difference in http://radioscanningtw.jidanni.org/index.php?title=Special:Version&uselang=en is
Good machine:

< PHP       7.0.22-2 (apache2handler)  Good machine
< MySQL     5.7.18-1

Bad machine:

> PHP       7.0.21 (cgi-fcgi) Bad machine
> MySQL     5.6.34-log

updating to PHP 7.1.7 (cgi-fcgi) didn't help.
It must be something in php --info that is different...

Jidanni claimed this task.

Sorry. Indeed it was because of a change I made

$ find re j2 -name \*Dig\*raw -exec nl {} \;
     1	(本單位部份/全面採用數位/加密系統。參見[[未知#數位]]。)
     2	[[Category:數位]]
     1	''(本單位多採用數位加密系統,吾人聽到可能僅雜音。[[Project:警平計劃|※]])''
Aklapper changed the task status from Resolved to Invalid.Aug 11 2017, 8:46 AM

Nothing fixed in the code base hence nothing resolved - changing task status to invalid

( It turns out T173133 was the actual issue here.)