MyVariables demo
From Notaclue Wiki
| MyVariables | |
|---|---|
| Documentation | |
| Maintained by WikiTeq? |
Yes! |
| Version | |
This wiki has the MyVariables extension installed, which adds a few additional "magic words" to the MediaWiki parser.
| Variable | Description | Sample | Value for this page |
|---|---|---|---|
{{CURRENTUSER}}
|
Login of current user or the IP for anonymous users. | "Pastakhov" or "x.x.x.x" | 172.69.7.161 |
{{CURRENTLOGGEDUSER}}
|
Login of current user or empty for anonymous users. | "Pastakhov" or "" | |
{{CURRENTUSERREALNAME}}
|
Real name of current user. | "Pavel Astakhov" | |
{{HITCOUNTER}}
|
Number of visits (hits) to the current page according to Extension:HitCounters or empty if the extension isn't installed. | "123" or "" | |
{{LOGO}}
|
Path to wiki logo. | "/w/skins/common/images/wiki.png" | /w/[email protected] |
{{UUID}}
|
Random (v4) UUID. | "65ba1a51-c723-4b9d-b1f3-13148d628322" | b884734f-5a3a-4753-bc0e-794d072a3044 |
{{USERLANGUAGECODE}}
|
Language that the user specified in the preferences. | "en", "en-ca", "ru", etc. | en |
{{USERREGISTRATION}}
|
Timestamp of the date at which the user registered or empty if the page isn't a user page. | "20100809003006" or "" | |
{{FIRSTREVISIONID}}
|
ID of the first revision of the current page or empty if page isn't yet created. | "1" or "" | 11200 |
{{FIRSTREVISIONTIMESTAMP}}
|
Timestamp of the first revision of the current page or empty if page isn't yet created. | "20100809003006" or "" | 20230416054400 |
{{FIRSTREVISIONUSER}}
|
The user name (without the User prefix) or IP address associated to the first revision of the current page or empty if page isn't yet created. | "Pastakhov", "x.x.x.x" or "" | WikiTeq |
{{PAGEIMAGE}}
|
The main image of the current page as determined by Extension:PageImages. If the extension is not installed or no main image was determined then {{PAGEIMAGE}} will output nothing. | "Logo.png" or "" | |
{{REALNAME}}
|
When used in a user page, will output the real name of the user. However, if used like this {{REALNAME:Jimbo}} it will output the real name of the user Jimbo. This dual behavior is similar to core variables like {{PAGENAME}}. | "Pastakhov" or "" | |
{{REALNAME:WikiTeq}}
|
"Pastakhov" or "" | WikiTeq real name | |
{{REDIRECTS}}
|
Comma-separated list of redirects to the current page or empty if there're no redirects. | "Foo, Bar, Baz" or "" | |
{{SUBPAGES}}
|
The subpages of the current page, in plain text, comma-separated and in alphabetic order. If there are no any subpages, it will output nothing. | "Pastakhov/Subpage1, Pastakhov/Subpage2" or "" | MyVariables demo/something |
{{WHATLINKSHERE}}
|
The titles of the pages that link to the current page, comma-separated and in alphabetic order. It will be empty if there are no linked pages. | "Bar, Baz, Foo" or "" |