{{DISPLAYTITLE:''Sweet Dreams (Are Made of This)''}} will print Sweet Dreams in italic, then from the open parenthesis, will ignore any styling markup.
This isn't consistent, as Lua allows to pass a string with parenthesis to the DISPLAYTITLE parser function: https://en.wikipedia.org/w/index.php?title=Module:Italic_title&oldid=581780064.
[ History ]
In 2006, in bug 8394, Brion Vibber, states: “The display title should indeed not contain any links or formatting codes.”
This behavior is reported to have been introduced in MediaWiki 1.9 according the same bug.
This doesn't match the last 8 years practice of our main users, Wikipedia projects, as italic titles are now widely use on Wikipedia projects for entertainment and artistic works' titles.
[ Credit ]
Thank you to LeJC and Linedwell from the French Wikipedia to have reported this bug.
Version: unspecified
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=8394