Revision history of "Module:NUMBEROF/rank"

Jump to navigation Jump to search

Diff selection: Mark the radio boxes of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

  • curprev 14:54, 19 January 2022Tachyony talk contribs 1,159 bytes +1,159 Created page with "-- Return a table of statistics to be accessed once per page using mw.loadData. -- For each sister project, the table ranks each site by its number of articles. local projects = { 'wikipedia', } local function getData(statistics) local iSite, iArticles for i, v in ipairs(statistics.schema.fields) do if v.name == 'site' then iSite = i elseif v.name == 'articles' then iArticles = i end end local rankBySite, rankByIndex = {}, {} for _, v in ipairs(statis..."