Last modified: 2014-02-05 01:27:16 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T59962, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 57962 - Flow: some long urls break out of the div in Chrome
Flow: some long urls break out of the div in Chrome
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Flow (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-04 05:45 UTC by Quiddity
Modified: 2014-02-05 01:27 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
screenshot of problem (128.56 KB, image/png)
2013-12-04 05:45 UTC, Quiddity
Details
screenshot of chromium (160.95 KB, image/png)
2014-01-08 19:36 UTC, Quiddity
Details

Description Quiddity 2013-12-04 05:45:17 UTC
Created attachment 13977 [details]
screenshot of problem

This long URL breaks in Chrome, both in the preview area and once saved. It doesn't break in the edit-window. (See screenshot)
https://maps.google.com/maps?q=Wikimedia+Foundation+Inc.,+New+Montgomery+Street,+San+Francisco,+CA&hl=en&sll=37.7577,-122.4376&sspn=0.197332,0.41851&oq=wikimedi&t=m&z=16&iwloc=A


Possibly this is a browser problem, as making a long url without any characters-that-can-be-assumed-as-linebreaks (eg. a long string of "dddd...") will also break out of the edge in Firefox, eg https://en.wikipedia.org/w/index.php?title=User:Quiddity/sandbox&oldid=584480274

However, the ",+&=" characters in that googlemaps link should provide ample opportunity for linebreaks, so possibly it's a Flow/Parsoid/MW bug.
Comment 1 Bingle 2013-12-04 05:54:36 UTC
The WMF core features team tracks this bug on Mingle card https://mingle.corp.wikimedia.org/projects/flow/cards/577, but people from the community are welcome to contribute here and in Gerrit.
Comment 2 Quiddity 2014-01-08 19:36:57 UTC
Created attachment 14257 [details]
screenshot of chromium

Newer example: http://ee-flow.wmflabs.org/w/index.php?title=User_talk:Zoidbergsays&workflow=050dcd57c763f00fc8b1fa163e68c4ac

It busts out of the topic-title area in both Chromium and Firefox, 

Within the post - in Firefox it gets wrapped correctly, but in Chromium it creates the overflow-horizontal-scrollbar. I'm not sure if this can be fixed.
Comment 3 Andrew Garrett 2014-01-22 18:32:01 UTC
This is a browser issue as far as I'm concerned. The way to fix it would probably be some CSS word breaking setting.

See: http://css-tricks.com/snippets/css/prevent-long-urls-from-breaking-out-of-container/
Comment 4 Gerrit Notification Bot 2014-01-22 21:38:26 UTC
Change 108972 had a related patch set uploaded by Werdna:
Allow word breaks at any place in links.

https://gerrit.wikimedia.org/r/108972
Comment 5 Gerrit Notification Bot 2014-02-04 23:48:21 UTC
Change 108972 merged by jenkins-bot:
Force word breaks in the various user content areas

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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links