Jump to content

Template:H:Statistics variables

From Meta, a Wikimedia project coordination wiki
Word Example Explanation
{{CURRENTVERSION}} 1.43.0-wmf.11 (7df99f2) [MW1.7+] $wgVersion [1]
{{NUMBEROFARTICLES}}
{{NUMBEROFARTICLES:R}}
144,914
144914
A variable which returns the total number of articles on the Wiki.
{{NUMBEROFPAGES}}
{{NUMBEROFPAGES:R}}
12,387,740
12387740
[MW1.7+] Returns the total number of pages. [2]
{{NUMBEROFFILES}}
{{NUMBEROFFILES:R}}
1,975
1975
[MW1.5+] Returns the number of uploaded files (rows in the image table).
{{NUMBEROFUSERS}}
{{NUMBEROFUSERS:R}}
41,337,056
41337056
[MW1.7+] Returns the number of registered users (rows in the user table).
{{NUMBEROFADMINS}}
{{NUMBEROFADMINS:R}}
71
71
[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.