Steps to replicate the issue (include links if applicable):
- https://www.mediawiki.org/wiki/Template:Ptag?useparsoid=1
- https://www.mediawiki.org/wiki/Template:Ptag?useparsoid=0
- https://wikitech.wikimedia.org/wiki/Template:Ptag?useparsoid=1
- https://wikitech.wikimedia.org/wiki/Template:Ptag?useparsoid=0
What happens?:
