Page MenuHomePhabricator

Text/URLs not wrapped in commit summary
Closed, ResolvedPublic

Description

But its fine in IE 8/FF.3.5

So it goes over the Author and looks a bit of a mess...

Not sure if this was a bug for Google, or for here


Version: unspecified
Severity: normal
URL: http://www.mediawiki.org/w/index.php?title=Special:Code/MediaWiki&dir=prev&offset=58411

Details

Reference
bz21544

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:46 PM
bzimport set Reference to bz21544.

Revisions 58452, 58454-58457, fyi

59260 which is just text is the same

Text one (59260) occurs on FF 3.6.8

URL's still not fine in Chrome 6

Created attachment 8019
Screen shot of overflowing URL in commit section in list (Chrome 8.0.552.237)

Whether browsers are able to wrap very long words & URLs or just let them stick out varies with the browser, and has been a long source of annoyance!

Firefox 4.0b9 seems to wrap the long URLs nicely, but I can still see the reported issue in Chrome 8.0.552.237.

The good news is that while we probably can't force it to wrap them, we can stop it from overflowing the text into the next cell.

The stylesheets have a 20em 'max-width' for .TablePager_col_cr_message, which is what forces the cell to be so small. (This prevents the entire table from being insanely huge when there's a giant unwrapped URL in the comment.)

Adding 'overflow: hidden' to this crops the overflowed text, which is pretty much what we want here. Should be easy to add to the styles.

Attached:

screenshot7.png (430×477 px, 68 KB)

Amusingly, on Chrome 10.0.642.2 dev it seems to have been fixed. :P