Topic on Project:Support desk

Templates act weird after MediaWiki update

3
Seelentau (talkcontribs)

Hi, I have a problem with the portable infoboxes in my wiki, after finally updating it to the current version.

These p-tags appeared and I don't know where they come from

https://degwiki.com/wiki/The_Insulated_World_(2018)

and also, the whole infobox has more empty space

this is my commons.css: https://degwiki.com/wiki/MediaWiki:Common.css

and this is the template for the infobox: https://degwiki.com/wiki/Template:Release

here you can see what it looked like pre-update: https://web.archive.org/web/20210618215104/https://degwiki.com/wiki/The_Insulated_World_(2018)

please, how can I fix this? :/

Jonathan3 (talkcontribs)
Seelentau (talkcontribs)

Everything is up to date. In the meantime, I found out that MediaWiki adds those paragraph tags everywhere. Just compare old vs new code:

pre-update:

<h2 class="pi-item pi-item-spacing pi-title" data-source="title">鬼葬</h2>

post-update:

<h2 class="pi-item pi-item-spacing pi-title" data-source="title"><p>鬼葬</p></h2>

Reply to "Templates act weird after MediaWiki update"