#ifeq bug when using Magic words that include quotes (")
Closed, InvalidPublic

Description

Author: agony79

Description:
When using Magic words (such as {{PAGENAME}}) with quotes, this function do not match to " but match to ".

Simple test case under [["]] could be:

{{#ifeq: " | " | 1 | 0}} (return 1 as supposed)
{{#ifeq: " | {{PAGENAME}} | 1 | 0}} (return 0, should return 1)
{{#ifeq: " | {{PAGENAME}} | 1 | 0}} (return 1, should return 0)
{{#ifeq: {{localurl:"}} | {{localurl:{{PAGENAME}}}} | 1 | 0}} (return 1 as supposed)


Version: unspecified
Severity: normal

bzimport added a subscriber: wikibugs-l.
bzimport set Reference to bz12448.
bzimport created this task.Via LegacyDec 29 2007, 9:18 PM
bzimport added a comment.Via ConduitAug 11 2008, 8:30 PM

webboy wrote:

On [["]] {{PAGENAME}} returns " to prevent parsing. This is not a bug in #ifeq.

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.