User:PrimeHunter/Asterisk escape test
Appearance
Test cases for Wikipedia:Village pump (technical)#Usernames containing wikimarkup and .7B.7Bdb-meta.7D.7D and phab:T28781, using magic words from mw:Help:Magic words. No lines in this page start with an asterisk. If a rendered line starts with a bullet then the magic word on the previous rendered line does not escape a leading asterisk. Some of the magic words cannot produce a result with a leading asterisk. For some of the magic words like int
, an unescaped asterisk may be wanted.
- REVISIONUSER: Xaosflux
- FULLPAGENAME: *Lisp
- PAGENAME: *Lisp
- BASEPAGENAME: *Lisp
- SUBPAGENAME: *Lisp
- SUBJECTPAGENAME: *Lisp
- ARTICLEPAGENAME: *Lisp
- TALKPAGENAME: Talk:*Lisp
- ROOTPAGENAME: *Lisp
- FULLPAGENAMEE: *Lisp
- PAGENAMEE: *Lisp
- BASEPAGENAMEE: *Lisp
- SUBPAGENAMEE: *Lisp
- SUBJECTPAGENAMEE: *Lisp
- ARTICLEPAGENAMEE: *Lisp
- TALKPAGENAMEE: Talk:*Lisp
- ROOTPAGENAMEE: *Lisp
- urlencode: %2ALisp
- anchorencode:
- Lisp
- lc:
- lisp
- lcfirst:
- Lisp
- uc:
- LISP
- ucfirst:
- Lisp
- padleft:
- Lisp
- padright:
- Lisp
- plural:
- are
- grammar:
- Lisp
- gender:
- unspecified
- int: ⧼Coll-blacklisted-templates⧽
Workaround
[edit]The template {{REVISIONUSER2}} is a workaround for the issue with the magic word {{REVISIONUSER}}
. See Template:REVISIONUSER2#Example for the difference.