Editing
Help:Magic words
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Statistics === Numbers returned by these variables normally contain separators (commas or spaces, depending on the local language), but can return raw numbers with the ":R" flag (for example, <code><nowiki>{{NUMBEROFPAGES}}</nowiki></code> → {{NUMBEROFPAGES}} and <code><nowiki>{{NUMBEROFPAGES:R}}</nowiki></code> → {{NUMBEROFPAGES:R}}). Use "|R" for magic words that require a parameter like PAGESINCATEGORY (for example <code><nowiki>{{PAGESINCATEGORY:Help}}</nowiki></code> and <code><nowiki>{{PAGESINCATEGORY:Help|R}}</nowiki></code>, or <code><nowiki>{{PAGESINCATEGORY:Help|subcats}}</nowiki></code> and <code><nowiki>{{PAGESINCATEGORY:Help|subcats|R}}</nowiki></code>). Also applicable to <code><nowiki>{{PAGESIZE:</nowiki>''page name''<nowiki>}}</nowiki></code> hereinbefore. The number magic words are formatted in the wiki content language. Since {{r|94680|1.19}}, it depends on the [[page content language]]. {| class="wikitable" |- ! {{Hl2}}| Variable ! {{Hl2}}| Output ! {{Hl2}}| Description ! {{Hl2}}| Versions |- ! {{Hl3}} colspan="4"| '''Entire wiki''' |- | <code><nowiki>{{NUMBEROFPAGES}}</nowiki></code> | {{NUMBEROFPAGES}} | Number of wiki pages. | 1.7+ |- | <code><nowiki>{{NUMBEROFARTICLES}}</nowiki></code> | {{NUMBEROFARTICLES}} | Number of pages in {{mediawiki|Manual:Using custom namespaces#Content namespaces|content namespaces}}. | |- | <code><nowiki>{{NUMBEROFFILES}}</nowiki></code> | {{NUMBEROFFILES}} | Number of uploaded files. | 1.5+ |- | <code><nowiki>{{NUMBEROFEDITS}}</nowiki></code> | {{NUMBEROFEDITS}} | Number of page edits. | {{mediawiki|rev:21319|1.10+}} |- | <code><nowiki>{{NUMBEROFVIEWS}}</nowiki></code> | {{NUMBEROFVIEWS}} | Number of page views. Usually useless on a wiki using [[Manual:Cache|caching]]. | {{mediawiki|rev:42721|1.14+}} |- | <code><nowiki>{{NUMBEROFUSERS}}</nowiki></code> | {{NUMBEROFUSERS}} | Number of registered users. | 1.7+ |- | <code><nowiki>{{NUMBEROFADMINS}}</nowiki></code> | {{NUMBEROFADMINS}} | Number of users in the ''sysop'' {{mediawiki|Manual:User rights|group}}. | 1.7+ |- | <code><nowiki>{{NUMBEROFACTIVEUSERS}}</nowiki></code> | {{NUMBEROFACTIVEUSERS}} | Number of active users, based on the criteria used in [[Special:Statistics]]. | {{mediawiki|rev:47392|1.15+}} |- style="background:#FED;" | <code><nowiki>{{PAGESINCATEGORY:</nowiki>''categoryname''<nowiki>}}</nowiki></code> <br /><code><nowiki>{{PAGESINCAT:</nowiki>''categoryname''<nowiki>}}</nowiki></code> | {{PAGESINCATEGORY:Help}} <br />{{PAGESINCAT:Help}} | '''[Expensive]''' Number of pages (including any subcategories and files) in the given [[Help:Categories|category]]. | {{mediawiki|rev:32932|1.13+}} |- style="background:#FED;" | <code><nowiki>{{PAGESINCATEGORY:</nowiki>''categoryname''<nowiki>|all}}</nowiki></code> <br /><code><nowiki>{{PAGESINCATEGORY:</nowiki>''categoryname''<nowiki>|pages}}</nowiki></code> <br /><code><nowiki>{{PAGESINCATEGORY:</nowiki>''categoryname''<nowiki>|subcats}}</nowiki></code> <br /><code><nowiki>{{PAGESINCATEGORY:</nowiki>''categoryname''<nowiki>|files}}</nowiki></code> | {{PAGESINCATEGORY:Help|all}} <br />{{PAGESINCATEGORY:Help|pages}} <br />{{PAGESINCATEGORY:Help|subcats}} <br />{{PAGESINCATEGORY:Help|files}} | '''[Expensive]''' Respectively, the number of * all pages * ordinary pages (excluding subcategories and files) * subcategories or * files in the given [[Help:Categories|category]]. | [//gerrit.wikimedia.org/r/#/c/12790/ 1.20+] |- | <code><nowiki>{{NUMBERINGROUP:</nowiki>''groupname''<nowiki>}}</nowiki></code> <br /><code><nowiki>{{NUMINGROUP:</nowiki>''groupname''<nowiki>}}</nowiki></code> | {{NUMBERINGROUP:bureaucrat}} <br />{{NUMINGROUP:bureaucrat}} <br /><small><nowiki>({{NUMBERINGROUP:bureaucrat}} used here)</nowiki></small> | Number of users in a specific {{mediawiki|Manual:User rights|group}}. | {{mediawiki|rev:40116|1.14+}} |- | <code><nowiki>{{PAGESINNS:</nowiki>''index''<nowiki>}}</nowiki></code> <br /><code><nowiki>{{PAGESINNAMESPACE:</nowiki>''index''<nowiki>}}</nowiki></code> | ''Not enabled'' | Number of pages in the given [[Help:Namespaces|namespace]] (replace ''index'' with the relevant [[Manual:Namespace|namespace index]]). For instance, <code><nowiki>{{PAGESINNAMESPACE:</nowiki>''14''<nowiki>}}</nowiki></code> will output the number of category pages. <code><nowiki>{{PAGESINNS:0}}</nowiki></code> differs from <code><nowiki>{{NUMBEROFARTICLES}}</nowiki></code> in that the former includes redirects and disambiguation pages. Disabled by default, enable with {{mediawiki|Manual:$wgAllowSlowParserFunctions|$wgAllowSlowParserFunctions}}. | 1.7+ |}
Summary:
Please note that all contributions to Fanra's EverQuest Wiki are considered to be released under the Creative Commons Attribution Share Alike (see
Project:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Namespaces
Help page
Discussion
English
Views
Read
Edit source
View history
More
Search
Main Menu
Main page
Sections
Classes and Races
Spells, Songs, Disciplines, and AAs
Items
Zones
NPCs
Quests
Raids
Tradeskills
User Interface
Tips and Guides
EQ Links
Wiki
Recent changes
Advanced search
Random page
Help
Contact Fanra
Tools
What links here
Related changes
Upload file
Special pages
Page information