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!
=== Technical metadata === ''Note:'' Revision variables return data about the '''latest edit to the current page''', even if viewing an older version of the page. {| class="wikitable" |- ! {{Hl2}}| Variable ! {{Hl2}}| Output ! {{Hl2}}| Description ! {{Hl2}}| Versions |- ! {{Hl3}} colspan="4"| '''Site''' |- | <code><nowiki>{{SITENAME}}</nowiki></code> | {{SITENAME}} | The wiki's site name ({{mediawiki|Manual:$wgSitename|$wgSitename}}). | |- | <code><nowiki>{{SERVER}}</nowiki></code> | {{SERVER}} | Domain URL ({{mediawiki|Manual:$wgServer|$wgServer}}). | |- | <code><nowiki>{{SERVERNAME}}</nowiki></code> | {{SERVERNAME}} | Domain name (no longer dependent on {{mediawiki|Manual:$wgServerName|$wgServerName}} as of version 1.17). | |- | <code><nowiki>{{DIRMARK}}</nowiki></code> <br /><code><nowiki>{{DIRECTIONMARK}}</nowiki></code> | {{DIRMARK}} <br />{{DIRECTIONMARK}} | Outputs a unicode-directional mark that matches the wiki's default language's direction (<code>&lrm;</code> on left-to-right wikis, <code>&rlm;</code> on right-to-left wikis), useful in text with multi-directional text. Since {{r|94680|1.19}}, it depends on the [[page content language]]. | {{r|14442|1.7+}} |- | <code><nowiki>{{SCRIPTPATH}}</nowiki></code> | {{SCRIPTPATH}} | Relative script path ({{mediawiki|Manual:$wgScriptPath|$wgScriptPath}}). | |- | <code><nowiki>{{STYLEPATH}}</nowiki></code> | {{STYLEPATH}} | Relative style path ({{mediawiki|Manual:$wgStylePath|$wgStylePath}}). | 1.16+ |- | <code><nowiki>{{CURRENTVERSION}}</nowiki></code> | {{CURRENTVERSION}} | The wiki's MediaWiki version. | {{r|14199|1.7+}} |- | <code><nowiki>{{CONTENTLANGUAGE}}</nowiki></code> <br /><code><nowiki>{{CONTENTLANG}}</nowiki></code> | {{CONTENTLANGUAGE}} <br />{{CONTENTLANG}} | The wiki's default interface language ({{mediawiki|Manual:$wgLanguageCode|$wgLanguageCode}}). | {{r|14661|1.7+}} |- ! {{Hl3}} colspan="4"| '''Page''' |- | <code><nowiki>{{PAGEID}}</nowiki></code> | {{PAGEID}} | Returns the page identifier. | {{mediawiki|gerrit:9858|1.20+}} |-style="background:#FED;" | <code><nowiki>{{PAGESIZE:</nowiki>''page name''<nowiki>}}</nowiki></code> <br /><code><nowiki>{{PAGESIZE:</nowiki>''page name''<nowiki>|R}}</nowiki> | {{PAGESIZE:Help:Magic_words}} <br />{{PAGESIZE:Help:Magic_words|R}} | '''[Expensive]''' Returns the byte size of the specified page. Use "<code><nowiki>|R</nowiki></code>" to get raw (unformatted) numbers. | {{mediawiki|rev:33551|1.13+}} |- | <code><nowiki>{{PROTECTIONLEVEL:</nowiki>''action''<nowiki>}}</nowiki></code> | <!-- Leave this empty. --> | Outputs the protection level (e.g. "autoconfirmed", "sysop") for a given action (e.g. "edit", "move") on the current page or an empty string if not protected. | {{mediawiki|rev:45587|1.15+}} |- ! {{Hl3}} colspan="4"| '''Latest revision to current page''' |- | <code><nowiki>{{REVISIONID}}</nowiki></code> | {{REVISIONID}} | Unique revision ID. | 1.5+ |- | <code><nowiki>{{REVISIONDAY}}</nowiki></code> | {{REVISIONDAY}} | Day edit was made (unpadded number). | 1.8+ |- | <code><nowiki>{{REVISIONDAY2}}</nowiki></code> | {{REVISIONDAY2}} | Day edit was made (zero-padded number). | 1.8+ |- | <code><nowiki>{{REVISIONMONTH}}</nowiki></code> | {{REVISIONMONTH}} | Month edit was made (zero-padded number as of {{mediawiki|rev:66200|1.17+}}, unpadded number in prior versions). | 1.8+ |- | <code><nowiki>{{REVISIONMONTH1}}</nowiki></code> | {{REVISIONMONTH1}} | Month edit was made (unpadded number). | {{mediawiki|rev:66200|1.17+}} |- | <code><nowiki>{{REVISIONYEAR}}</nowiki></code> | {{REVISIONYEAR}} | Year edit was made. | 1.8+ |- | <code><nowiki>{{REVISIONTIMESTAMP}}</nowiki></code> | {{REVISIONTIMESTAMP}} | Timestamp as of time of edit. | 1.8+ |- | <code><nowiki>{{REVISIONUSER}}</nowiki></code> | {{REVISIONUSER}} | The username of the user who made the most recent edit to the page, or the current user when previewing an edit. | {{mediawiki|rev:48149|1.15+}} |- ! {{Hl3}} colspan="4"| '''Affects page content''' |- | <code><nowiki>{{DISPLAYTITLE:</nowiki>''title''<nowiki>}}</nowiki></code> | | Format the current page's title header. The value must be equivalent to the default title: only capitalization changes and replacing spaces with underscores are allowed (this can be changed with {{manual|$wgRestrictDisplayTitle}}). It can be disabled or enabled by {{mediawiki|Manual:$wgAllowDisplayTitle|$wgAllowDisplayTitle}}; disabled by default before 1.10+, enabled by default thereafter. | 1.7+ |- | <code><nowiki>{{DEFAULTSORT:</nowiki>''sortkey''<nowiki>}}</nowiki></code> <br /><code><nowiki>{{DEFAULTSORTKEY:</nowiki>''sortkey''<nowiki>}}</nowiki></code> <br /><code><nowiki>{{DEFAULTCATEGORYSORT:</nowiki>''sortkey''<nowiki>}}</nowiki></code> <br/><code><nowiki>{{DEFAULTSORT:</nowiki>''sortkey''<nowiki>|noerror}}</nowiki></code> <br/><code><nowiki>{{DEFAULTSORT:</nowiki>''sortkey''<nowiki>|noreplace}}</nowiki></code> | | Used for categorizing pages, sets a default [[Help:Categories|category sort key]]. For example if you put <code><nowiki>{{DEFAULTSORT:Smith, John}}</nowiki></code> at the end of [[John Smith]], the page would be sorted under "S" by default in categories. It can take a second argument of ''noerror'' or ''noreplace'' to suppress error messages when multiple defaultsortkeys are used on one page or to make it do nothing if multiple defaultsortkeys are used. | 1.10+ <br/>{{mediawiki|rev:96767|1.19+}} (for noerror and noreplace) |}
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