This script returns the ranking of a Wikimedia foundation project when sorted by size.

(feature requested by Danny_B implemented by mutante (2010/01))

usage:

?family=[project family]

?lang=[language]

project family can be one of: w, wikt, n, b, q, s, v (interwiki shortcuts)

language should be a language prefix that exists as a wikipedia subdomain:

output:

<lang.project> <rank within project> <number of wikis in project> <global rank> <global number of wikis>
en.wikipedia 1 272 1 761

examples:
?family=w&lang=en (Spanish Wikipedia)
?family=wikt&lang=de (English Wiktionary)
?family=v&lang=ru (Russian Wikiversity)

Complete tables can be found in wikistats
source of this page