Page MenuHomePhabricator

[TUX] Message documentation shortening doesn't work
Closed, ResolvedPublic

Description

I don't have a good steps to reproduce at the moment.

I was proofraeding at https://translatewiki.net/wiki/Special:Translate?action=proofread&group=%21recent&filter=translated%7C%21reviewer%3A1%7C%21last-translator%3A1 (contents will change over time) and opened the following message:
MediaWiki:Wikibase-property-summary-wbcreate-new/fi
Created a new property

It has a very long description which is not truncated.


Version: master
Severity: normal
URL: https://translatewiki.net/w/i.php?title=Special:Translate&group=ext-wikibase-repo&language=fi&filter=&action=proofread&tux=1

Details

Reference
bz48099

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 1:39 AM
bzimport set Reference to bz48099.
bzimport added a subscriber: Unknown Object (MLST).

The expected behaviour isn't specified well enough and the observed behaviour is not clear. Can you please resolve both issues with this report?

Without looking at the code, this probably happens because it uses a template and we only count the source length for shortening and not the parsed qqq.

Change 129180 had a related patch set uploaded by Amire80:
Compact the documentation according to HTML and not source

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

Change 129180 merged by jenkins-bot:
Compact the documentation according to HTML and not source

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