On mediawiki.org:
{{phpi|1=<nowiki>!isset( $var ) || !$var</nowiki>}}
// Results in
UNIQ09b61f9b074499c5-nowiki-00000002-QINUReduced test case:
{{#tag:syntaxhighlight
|<nowiki>|</nowiki>
|lang=php
|enclose=none
}}On mediawiki.org:
{{phpi|1=<nowiki>!isset( $var ) || !$var</nowiki>}}
// Results in
UNIQ09b61f9b074499c5-nowiki-00000002-QINUReduced test case:
{{#tag:syntaxhighlight
|<nowiki>|</nowiki>
|lang=php
|enclose=none
}}| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Open | None | T28213 Strip marker (UNIQ / QINU) issues (tracking) | |||
| Resolved | • demon | T78456 UNIQ Error from using {{#tag:}} with pipe in nowiki |
Change 289884 had a related patch set uploaded (by Chad):
SECURITY: Replace strip markers before syntax highlighting
Change 289885 had a related patch set uploaded (by Chad):
SECURITY: Replace strip markers before syntax highlighting
Change 289884 merged by jenkins-bot:
SECURITY: Replace strip markers before syntax highlighting
Change 289885 merged by jenkins-bot:
SECURITY: Replace strip markers before syntax highlighting
Indeed. Confirmed on mediawiki.org using the original test case:
{{#tag:syntaxhighlight
|<nowiki>|</nowiki>
|lang=php
|enclose=none
}}Now works as expected and renders a (literal) pipe character in a preformatted area.