To implement T3243: Improve credits page on PDFs we need to know the total number of bytes contributed by a certain author.
Since WikiRating is already implementing a lot of features to access similar data, this looks like an easy addition to the project
Description
Related Objects
- Mentioned Here
- T3243: Improve credits page on PDFs
Great idea!
@abhimanyushekhawat is it easy to add an api endpoint for this information?
@ruphy consider that the wikirating engine would not be release this month..maybe pre1 is too early
Hi! Yeah it is an easy task I will do it tonight, the user contributions
will be stored in the database and will be available for direct access.
Hi! I have made a function *public static int
getTotalContributionBytes(String username); *in the *User.java* class it
return the Total Contributions in bytes for a User.
Great Ab!
Although I think that the idea was the contribution of a user inside a set of pages.. is it easy to implement? if so please do it after the end of your gsoc work.
we can do it given a set of pages, or even given one page only. Or even, given a set of pages, get the list of authors and corresponding bytes :-)
You decide the API, we need it for OCG! :-)
Hi!
Yes it's not very difficult to get the page wise bytes of the corresponding
authors,there is a MediaWiki query to get the total bytes contributed by
all the users but infact the engine collects so much data that this task
can be performed offline too. I will complete this task soon ! :D