[Mediawiki-i18n] [Design] Truncating a message, enforcing word order
mflaschen at wikimedia.org
Fri Dec 13 01:12:12 UTC 2013
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
> 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.
More information about the Mediawiki-i18n