https://bugzilla.wikimedia.org/show_bug.cgi?id=30227
Web browser: ---
Bug #: 30227
Summary: API returns the wrong values for 'total' and 'count'
of ratings
Product: MediaWiki extensions
Version: any
Platform: All
URL: http://en.wikipedia.org/w/api.php?_=1312475393977&acti
on=query&format=jsonfm&list=articlefeedback&afpageid=2
8172104&afanontoken=bnlRBcwVFvAHJdaoPJ1Ka1Wv9VNtAZ6X&a
fuserrating=1&maxage=0&smaxage=0
OS/Version: All
Status: NEW
Severity: major
Priority: Unprioritized
Component: ArticleFeedback
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected],
[email protected]
Classification: Unclassified
As reported on [[mw:Thread:Talk:Article feedback/I think I have encountered a
bug?]], the averages for the article [[Remember December]] are wrong.
The data returned from API in the query given in the url above includes the
following values:
-------------------------
"pageid": "28172104",
"revid": 442275047,
"ratings": [
{
"ratingid": 1,
"ratingdesc": "articlefeedback-field-trustworthy-label",
"total": 4294967316,
"count": 4294967300,
"countall": 6
},
{
"ratingid": 2,
"ratingdesc": "articlefeedback-field-objective-label",
"total": 4294967317,
"count": 4294967300,
"countall": 6
},
{
"ratingid": 3,
"ratingdesc": "articlefeedback-field-complete-label",
"total": 4294967318,
"count": 4294967300,
"countall": 6
},
{
"ratingid": 4,
"ratingdesc": "articlefeedback-field-wellwritten-label",
"total": 4294967319,
"count": 4294967300,
"countall": 6
}
],
-------------------------
The numbers for each 'total' and 'count' seems to be wrong.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l