Last modified: 2014-08-26 14:49:02 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 T69671, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 67671 - Translate: Round percentages down (for message matching)
Translate: Round percentages down (for message matching)
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Translate (Other open bugs)
unspecified
All All
: Normal minor with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
: easy
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-08 13:57 UTC by Lokal_Profil
Modified: 2014-08-26 14:49 UTC (History)
3 users (show)

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


Attachments

Description Lokal_Profil 2014-07-08 13:57:56 UTC
The matching percentage shown in the "Special:Translate" interface rounds to an integer value. There is however a huge difference between messages being 100% matches or 99.5% matches (an example is given below).

For this reason it would be better if the percentage is instead always rounded down to the nearest whole percent.


An example:
https://translatewiki.net/w/i.php?title=MediaWiki:Mwe-upwiz-source-ownwork-assert-cc-by-sa-4.0/sv&action=edit&uselang=en
Comment 1 Niklas Laxström 2014-08-26 12:39:31 UTC
Unable to reproduce. The 100% match seems to be identical to the current translation. Please reopen with more info if the issue is still present.
Comment 2 Lokal_Profil 2014-08-26 14:10:28 UTC
(In reply to Niklas Laxström from comment #1)
> Unable to reproduce. The 100% match seems to be identical to the current
> translation. Please reopen with more info if the issue is still present.

The link goes to the interface for individual messages where you can see the percentage to two decimal places.

The problem appears in the Special:Translate interface. To see the same message there follow the steps below:

1) go to https://translatewiki.net/w/i.php?title=Special:Translate&group=ext-uploadwizard&language=sv&filter=&action=translate
2) filter on "Creative Commons Erkännande-DelaLika 4.0".
3) Pick the top option
4) Notice the suggested 100% match which actually refers to the 3.0 license. This is the 99.60% match pointed out in the first comment.

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


Navigation
Links