Issue:Escaping AND characters in Category parameter

From FollowTheScore
Revision as of 23:10, 16 September 2008 by Gero (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Description: Is there a way to escape the & characters when choosing categories ?
Extension / Version: DPL   /   All
Type / Status: Bug   /   open

Problem

Problem is some of my categories contain a & character. For example I have [[Category:Speak & Spell]]. When trying to include this category, DPL understands that I'm looking for articles that would in [[Category:Speak ]] AND [[Category: Spell]].


Reply

Create a Template (Template:amp in our case) which contains a single "&" and then write something like:

<dpl>
 debug=3
 category=A{{amp}}B
</dpl>

Gero 22:10, 16 September 2008 (UTC)