Page MenuHomePhabricator

#switch treats any case beginning with "#default" as the default case
Closed, ResolvedPublic

Description

For example, "{{#switch:x|#defaultWTF? = This is crazy}}" returns "This is crazy".


Version: master
Severity: normal

Details

Reference
bz67871

Event Timeline

bzimport raised the priority of this task from to Normal.Nov 22 2014, 3:39 AM
bzimport added a project: ParserFunctions.
bzimport set Reference to bz67871.
bzimport added a subscriber: Unknown Object (MLST).
Anomie created this task.Jul 11 2014, 6:13 PM

Change 145600 had a related patch set uploaded by Anomie:
switch should not match #default as a prefix

https://gerrit.wikimedia.org/r/145600

Change 145600 merged by jenkins-bot:
#switch should not match #default as a prefix

https://gerrit.wikimedia.org/r/145600