Rosetta Code/Rank languages by number of users: Difference between revisions

Content added Content deleted
mNo edit summary
Line 3: Line 3:
Sort most popular programming languages based on the number of users on Rosetta Code. Show the languages with at least 100 users.
Sort most popular programming languages based on the number of users on Rosetta Code. Show the languages with at least 100 users.


A way to solve the task:
Users of a language X are those referenced in the page https://rosettacode.org/wiki/Category:X_User. In order to find the list of such categories, it's possible to first parse the entries of http://rosettacode.org/mw/index.php?title=Special:Categories&limit=5000.

Users of a language X are those referenced in the page https://rosettacode.org/wiki/Category:X_User, or preferably https://rosettacode.org/mw/index.php?title=Category:X_User&redirect=no to avoid redirections. In order to find the list of such categories, it's possible to first parse the entries of http://rosettacode.org/mw/index.php?title=Special:Categories&limit=5000.


Sample output on 17 december 2017:
Sample output on 17 december 2017: