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

       Web browser: ---
             Bug #: 35746
           Summary: {{PAGENAME}} must not escape special chars, otherwise
                    it makes {{#ifeq:}} unusable
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: need-parsertest, parser
          Severity: critical
          Priority: Unprioritized
         Component: Templates
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified
   Mobile Platform: ---


{{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 &

Obviously same wrong behavior with ' and " in page names.

Same goes with {{FULLPAGENAME}}.

-- 
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to