Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5952883
parserFunctionTests.txt
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
706 B
Referenced Files
None
Subscribers
None
parserFunctionTests.txt
View Options
# This smoketest requires the #ifeq function to be defined
!! options
version=2
requirements=extension:ParserFunctions
!! end
!! test
T240248: Erroring parser function shouldn't break references
!! wikitext
<ref>something</ref>
{{#ifeq: {{#expr: string < 5 }} | 1 | true | false or error }}
<references />
!! html
<p><sup id="cite_ref-1" class="reference"><a href="#cite_note-1"><span class="cite-bracket">[</span>1<span class="cite-bracket">]</span></a></sup>
false or error
</p>
<div class="mw-references-wrap"><ol class="references">
<li id="cite_note-1"><span class="mw-cite-backlink"><a href="#cite_ref-1">↑</a></span> <span class="reference-text">something</span>
</li>
</ol></div>
!! end
File Metadata
Details
Attached
Mime Type
text/html
Expires
Oct 3 2026, 01:46 (4 w, 3 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
16/0e/d896c6e674e704f3008d265fb413
Default Alt Text
parserFunctionTests.txt (706 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment