Unsanitized string handling from thread names
Thread names at the Teahouse may contain template-magic characters such as | or =. They should be escaped somehow before being passed into the template for notification.
Solution to apply: either sanitize from the PyWikiBot API if such a thing is possible; failing that, replace "manually"
-
|
by{{!}}
-
=
by{{=}}
(cf. general template doc).