fshmpy / hacktivist

A platform for the free software movements
GNU Affero General Public License v3.0
4 stars 14 forks source link

Wikimedia's project contributions count #46

Open manimaran96 opened 3 years ago

manimaran96 commented 3 years ago

In Hactivist we can show user's contributions in wikimedia projects(commons, wikipedia, wiktionary, wikidata, ..etc).

Wikimedia given wonderful API documentations here.

Edit Counter tool shows Analysis of user contributions - https://xtools.wmflabs.org/ec/commons.wikimedia/Manimaran96

More details : https://xtools.wmflabs.org/

manimaran96 commented 3 years ago

Some example query to get data

https://www.mediawiki.org/w/api.php?action=query&list=usercontribs&ucuser=manimaran96&format=json https://commons.wikimedia.org/w/api.php?action=query&list=usercontribs&ucuser=manimaran96&format=json https://ta.wikipedia.org/w/api.php?action=query&list=usercontribs&ucuser=manimaran96&format=json

Sample python code https://www.mediawiki.org/wiki/API:Userinfo#Sample_code

https://www.mediawiki.org/w/api.php?action=query&meta=userinfo&format=json

demonshreder commented 3 years ago

@manimaran96 Thanks for the input, this helps the project a lot. We should have a meeting on this soon, on how to move forward with the project, assigning priorities.

manimaran96 commented 3 years ago

@manimaran96 Thanks for the input, this helps the project a lot. We should have a meeting on this soon, on how to move forward with the project, assigning priorities.

Thanks @demonshreder

manimaran96 commented 3 years ago

Wikimedia query console with sample query https://quarry.wmflabs.org/query/10587