https://bugzilla.wikimedia.org/show_bug.cgi?id=35746

Bawolff <bawolff...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bawolff...@gmail.com

--- Comment #5 from Bawolff <bawolff...@gmail.com> 2012-04-07 23:42:28 UTC ---
(In reply to comment #0)
> {{PAGENAME}} must not escape special chars, otherwise it makes {{#ifeq:}}
> unusable.
> 
> {{#ifeq:{{PAGENAME}}|Q & A|true|false}} returns false on page with title "Q &
> A" because & is converted to &#38;
> 
> Obviously same wrong behavior with ' and " in page names.
> 
> Same goes with {{FULLPAGENAME}}.

I disagree. I think #ifeq et al should unescape their args.

(I suppose that would make & == &amp; but I don't entirely think that is a bad
thing).

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to