Manual:$wgRestrictDisplayTitle

Details
Restricts display titles to titles that normalize to the same canonical DB key as the real page title. This roughly means that only capitalization variations of the title are accepted. If set to false, any display title is allowed.

Additionally, some inline CSS rules like  which can cause the text to be hidden or unselectable are disallowed.