This is a replay of4bc0dc348a, which was reverted in9bd4fc0ae9due to unexpected use on Dutch Wiktionary. In 1.36 deprecation warnings and a tracking category were added if a wiki defined [[Template:=]] to expand to anything other than `=` (seeaeb3f45c20). This patch follows up that deprecation by finally defining `{{=}}` as a built-in, since the last usage on deployed wikis was cleaned up sometime around February 2021 (list at https://meta.wikimedia.org/wiki/Equals_sign_parser_function_template_conflicts ). We've left the tracking category defined for now, so that any remaining pages left in the tracking category on third-party wikis still retain localized category documentation. But it is expected that the next MW release will also remove the tracking category. Bug: T91154 Change-Id: I4717172f1d74d326212d51015a6cd87c3758f30d
27 lines
462 B
Text
27 lines
462 B
Text
!! Version 2
|
|
!! article
|
|
Template:=
|
|
!! text
|
|
no
|
|
!! endarticle
|
|
|
|
# {{=}} is a parser function which expands to `=`, although
|
|
# referencing a template explicitly as {{Template:=}} is fine
|
|
# regardless of what it expands to. (T91154)
|
|
!! test
|
|
Basic usage of {{=}}
|
|
!! wikitext
|
|
This uses {{=}}.
|
|
!! html
|
|
<p>This uses =.
|
|
</p>
|
|
!! end
|
|
|
|
!! test
|
|
Using {{Template:=}} doesn't invoke the parser function
|
|
!! wikitext
|
|
This uses {{Template:=}}.
|
|
!! html
|
|
<p>This uses no.
|
|
</p>
|
|
!! end
|