Page MenuHomePhabricator

Very long titles overflow their column in category view
Closed, ResolvedPublicBUG REPORT

Description

(Same as T319052, but for category listings.)

Steps to replicate the issue (include links if applicable):

What happens?:

  • Titles are flowing over into the next column (or outside the right edge of the screen if the title is in the right column)

What should have happened instead?:

  • The titles should not overflow; it would be better to make them wrap with CSS word-wrap: break-word; or word-break: break-word;

Note: This happens in all skins I've tested with, so a fix should probably apply to all of them too.

Software version (skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

Event Timeline

@Jdlrobson Sorry to subscribe you willy-nilly, but I think you might have a good idea about where to fix this and T319052, and/or which tags to apply. I only found CSS, which seems a bit vague.

Change 863861 had a related patch set uploaded (by Punith.nyk; author: Punith.nyk):

[mediawiki/core@master] Prevent Category: entries from overflowing

https://gerrit.wikimedia.org/r/863861

Change 863861 merged by jenkins-bot:

[mediawiki/core@master] Prevent Category: entries from overflowing

https://gerrit.wikimedia.org/r/863861

matmarex assigned this task to Punith.nyk.
matmarex subscribed.

Tested the changes on https://en.wikipedia.org/wiki/Category:Long_words:

BeforeAfter
image.png (991×944 px, 102 KB)
image.png (991×944 px, 94 KB)

Thanks for the patch @Punith.nyk!