The solution for Template:Project subtitle: Special:Diff/8075996.
I suppose it is a regression from the OOJS refactoring. I'll have a look.
https://gerrit.wikimedia.org/r/c/431569/