[Mediawiki-i18n] [Design] Truncating a message, enforcing word order

Jared Zimmerman jared.zimmerman at wikimedia.org
Fri Dec 13 01:14:25 UTC 2013

The reason for not wrapping is this is a fixed header element and we want
to reduce the amount of space it takes up on screen.

if you forget the entire name of the article you can scroll up to the top
of the page.

*Jared Zimmerman * \\  Director of User Experience \\ Wikimedia Foundation

M : +1 415 609 4043 |   :  @JaredZimmerman<https://twitter.com/JaredZimmerman>

On Thu, Dec 12, 2013 at 5:12 PM, Matthew Flaschen
<mflaschen at wikimedia.org>wrote:

> On 12/11/2013 10:31 PM, Juliusz Gonera wrote:
>> However, it might be better to wrap the title (language aside, it could
>>> provide better usability for some scenarios, e.g. if you lock your phone
>>> when editing, then come back to it and want to see what page you're on).
>> I'm not sure if I understand the example use case.
> You open your browser back up and you want to see the full article name
> you're editing.
>  Let's say we do it in JavaScript, we know the browser window width, but
>> we don't know how many
>> characters will fit in a single line... For those reasons I'd rather
>> stick with text-overflow: ellipsis in CSS.
> I'm suggesting using the browser's normal wrapping algorithm (the same one
> a normal paragraph or div uses), rather than truncating or splitting the
> string based on an explicit calculation.
> Matt Flaschen
> _______________________________________________
> Design mailing list
> Design at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/design
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wikimedia.org/pipermail/mediawiki-i18n/attachments/20131212/543d558b/attachment-0001.html>

More information about the Mediawiki-i18n mailing list