And, 4.5 stars gives 4.666666666666667 instead 4.5.
To recreate this issue
- Create new article with <vote type=1/> inside
- Vote for article with votes giving rational number in average
- On page Special:TopRatings you can see all ratings, check if this issues still occurs
- Fix it (propably by using number_format) send patch to gerrit
This issue was fixed.
I tried to recreate this issue, but it was fixed.
Version of plugin: 2.9.2 from 2017-09-21
I voted at four test users.
Special Page view (Special:TopRatings):
And I tested with one rating, too.
Are you sure it's fixed? @SamanthaNguyen what version was it on at the time?
From what I can see, the code hasn't been touched in quite a few years... https://github.com/wikimedia/mediawiki-extensions-VoteNY/blame/0131e6940d6b9c76bf698dd38a0ade2db0a45282/includes/Vote.class.php#L67-L92
And your votes haven't done anything that would trigger a recurring number