Page MenuHomePhabricator

Do not truncate if the ellipsis actually make the string longer
Closed, ResolvedPublic

Description

In http://www.mediawiki.org/wiki/Special:Code/MediaWiki/comments Tim's comment for revision r60746 is truncated as "... to support API queries explicitly..." while the comment actually ends as "... to support API queries explicitly?"

It's no point truncating if the ellipsis actually make the string longer.


Version: 1.16.x
Severity: minor

Details

Reference
bz22181

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:50 PM
bzimport set Reference to bz22181.
bzimport added a subscriber: Unknown Object (MLST).
aaron added a comment.Jan 21 2010, 8:27 AM

I suppose $wgLang->truncate() should be changed

Fixed with r61661.