Issue #2154589 by Wim Leers: Edit breaks when the entity title is promoted to the page title (discovered by backporting).