Template:H:Statistics variables
From Meta, a Wikimedia project coordination wiki
| Word | Example | Explanation |
|---|---|---|
| {{CURRENTVERSION}} | 1.22wmf4 (646544a) |
[MW1.7+] $wgVersion [1] |
| {{NUMBEROFARTICLES}} {{NUMBEROFARTICLES:R}} |
31,91031910 |
A variable which returns the total number of articles on the Wiki. |
| {{NUMBEROFPAGES}} {{NUMBEROFPAGES:R}} |
2,192,5552192555 |
[MW1.7+] Returns the total number of pages. [2] |
| {{NUMBEROFFILES}} {{NUMBEROFFILES:R}} |
4,1444144 |
[MW1.5+] Returns the number of uploaded files (rows in the image table). |
| {{NUMBEROFUSERS}} {{NUMBEROFUSERS:R}} |
2,912,2302912230 |
[MW1.7+] Returns the number of registered users (rows in the user table). |
| {{NUMBEROFADMINS}} {{NUMBEROFADMINS:R}} |
8080 |
[MW1.7+] Returns the number of administrators (sysop, bureaucrat, steward and checkuser). |
| {{PAGESINNAMESPACE}} | disabled here | Longer alias of PAGESINNS |
| {{PAGESINNS:ns}} {{PAGESINNS:ns:R}} |
{{PAGESINNS:2}} {{PAGESINNS:2:R}} disabled here |
[MW1.7+] Returns the number of pages in the given namespace. Disabled by default, enable with $wgAllowSlowParserFunctions. |
Note to future editors: this page is referenced from help pages so that all references to this table can use the same information so that different help pages that reference this table don't have different information.