(Same as T319049, but for title elements)
Steps to replicate the issue (include links if applicable):
- Visit https://incubator.wikimedia.org/wiki/Wp/ase/AS1f000S11a20S19220S1ce20S1ce20S19220S1fb20S11502M518x603S1f000483x398S11a20497x417S19220497x451S1ce20496x474S1ce20496x508S19220497x542S1fb20497x565S11502482x588_AS10e20S10e28S28b2aS32100M522x518S32100482x483S10e28458x445S10e20486x445S28b2a478x423?useskin=vector-2022&safemode=1 (note safemode – a script will convert this string to something more sensible without it)
- Also try with vector-2022: https://incubator.wikimedia.org/wiki/Wp/ase/AS1f000S11a20S19220S1ce20S1ce20S19220S1fb20S11502M518x603S1f000483x398S11a20497x417S19220497x451S1ce20496x474S1ce20496x508S19220497x542S1fb20497x565S11502482x588_AS10e20S10e28S28b2aS32100M522x518S32100482x483S10e28458x445S10e20486x445S28b2a478x423?useskin=vector-2022&safemode=1
What happens?:
- The title overflows the <h1> element (to the left in Vector-2022's case) and even the page (in other skins)
What should have happened instead?:
- The title should be forcibly wrapped with word-wrap: break-word; or word-break: break-word;
In Minerva, both of those CSS styles are already set, so it looks a lot better: https://incubator.wikimedia.org/wiki/Wp/ase/AS1f000S11a20S19220S1ce20S1ce20S19220S1fb20S11502M518x603S1f000483x398S11a20497x417S19220497x451S1ce20496x474S1ce20496x508S19220497x542S1fb20497x565S11502482x588_AS10e20S10e28S28b2aS32100M522x518S32100482x483S10e28458x445S10e20486x445S28b2a478x423?useskin=minerva&safemode=1
Software version (skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):

