{{{1}}}
![]() | This template is used on approximately 45,000 pages and changes may be widely noticed. Test changes in the template's /sandboxor/testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
![]() | This template uses Lua:
|
Implements mw.text.killmarkers( s )
: remove references and other parser tags from the input string s
.
Note: removing a <ref> tag may cause "ghost" references (not in text, but appearing in reference section). See "with" example below.
Without:
Hello world.<ref>{{cite web|url=https://www.example.com/|title=Example reference A}}</ref>
With:
{{KillMarkers|Hello world.<ref>{{cite web|url=https://www.example.com/|title=Example reference B}}</ref>}}
Ghost reference created:
{{KillMarkers|Hello world.<ref>(Ghost reference) {{cite web|url=https://www.example.com/|title=Example reference C}}</ref>}}
Wikitext-changing templates
| |
---|---|
wikitext |
|
Encode/decode |
|
See also: {{String-handling templates}} · Category:Wikicode string manipulation templates (3) |