Permanently protected module

Module:Project portal/views

From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search
Module documentation[view] [edit] [history] [purge]

Average views per day (over a week) of each wiki of each project. This module is no longer used, but Module:Project portal/views.json is. To update it:

  1. Check out the wikimedia/portals Git project and install any needed dependencies (see the README).
  2. Run gulp update-stats.
  3. Replace Module:Project portal/views.json with the contents of data/site-stats.json.

-- See [[Module:Project portal/views.json]].
local viewsJSON = mw.getCurrentFrame():expandTemplate{ title = "Module:Project portal/views.json" }
local viewsByProject = mw.text.jsonDecode(viewsJSON)
viewsByProject.wikipedia = viewsByProject.wiki
return viewsByProject