Difference between revisions of "Issue:Call - passing a variable twice"

From FollowTheScore
Jump to: navigation, search
(add desc)
Line 4: Line 4:
 
  |Version    = ?
 
  |Version    = ?
 
  |Description = passing the same variable twice via Special:Call
 
  |Description = passing the same variable twice via Special:Call
  |Status      = open
+
  |Status      = resolved
 
}}
 
}}
  
Line 16: Line 16:
 
[[User:Tobias Conradi|Tobias Conradi]] 23:08, 18 October 2007 (CEST)
 
[[User:Tobias Conradi|Tobias Conradi]] 23:08, 18 October 2007 (CEST)
 
== Reply ==
 
== Reply ==
 +
I added two variables called <tt>category2</tt> and <tt>notcategory2</tt>. The existing variable was left unchanged. So you can nowe write
 +
[[Special:Call/Catlist,category=Painter,addcategories=yes]] and
 +
[[Special:Call/Catlist,category=Painter,category2=Impressionism,addcategories=yes]]

Revision as of 08:46, 20 October 2007

Description: passing the same variable twice via Special:Call
Extension / Version: DPL   /   ?
Type / Status: Change Request   /   resolved

Problem

would be nice to add the AND functionaly to the DPL use via Special:Call

Special:Call/Catlist?category=A&category=B

maybe pass the variables as array

Special:Call/Catlist?category[]=A&category[]=B

or number the variables

Special:Call/Catlist?category1=A&category2=B

Tobias Conradi 23:08, 18 October 2007 (CEST)

Reply

I added two variables called category2 and notcategory2. The existing variable was left unchanged. So you can nowe write

Special:Call/Catlist,category=Painter,addcategories=yes and
Special:Call/Catlist,category=Painter,category2=Impressionism,addcategories=yes