Difference between revisions of "Issue:Escaping AND characters in Category parameter"

From FollowTheScore
Jump to: navigation, search
 
Line 13: Line 13:
  
 
== Reply ==
 
== Reply ==
 +
Create a Template ([[Template:amp]] in our case) which contains a single "&" and then write something like:
 +
<pre>
 +
<dpl>
 +
debug=3
 +
category=A{{amp}}B
 +
</dpl>
 +
</pre>
 +
 +
[[User:Gero|Gero]] 22:10, 16 September 2008 (UTC)

Latest revision as of 00:10, 17 September 2008

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)