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

From FollowTheScore
Jump to: navigation, search
(Reply)
 
Line 19: Line 19:
 
  [[Special:Call/Catlist,category=Painter,addcategories=yes]] and
 
  [[Special:Call/Catlist,category=Painter,addcategories=yes]] and
 
  [[Special:Call/Catlist,category=Painter,category2=Impressionism,addcategories=yes]]
 
  [[Special:Call/Catlist,category=Painter,category2=Impressionism,addcategories=yes]]
 +
--[[User:Gero|Gero]] 08:47, 20 October 2007 (CEST)

Latest revision as of 07:47, 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

--Gero 08:47, 20 October 2007 (CEST)