Template:SEIWA Stats

Revision as of 21:32, 22 September 2019 by KeybladeSpyMaster (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

TEST:

  • chronowiki: {{#external_value:chronowiki_users}}
  • dqwiki: {{#external_value:dqwiki_users}}
  • khwiki: {{#external_value:khwiki_users}}
  • sew: {{#external_value:sew_users}}
  • strategywiki: {{#external_value:strategywiki_users}}


Usage

Include this template in the page using {{SEIWA Statistics}}
Call data using {{#external_value:wikiname_data}}

For example: {{#external_value:sew_articles}} returns the following number: {{#external_value:sew_articles}} (which is the article count at SE-Wiki)

wikiname

  • khwiki
  • chronowiki
  • dqwiki
  • sew
  • strategywiki

data

  • pages (Pages)
  • articles (Content pages)
  • views (Views total)
  • edits (Page edits)
  • images (Uploaded files)
  • users (Registered users)
  • activeusers (Active users)
  • admins (Administrators)
  • jobs (Job queue length)

(See http://www.mediawiki.org/wiki/API:Query_-_Meta#Parameters for more info)