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

From FollowTheScore
Jump to: navigation, search
(New page: {{Issue |Type = Change Request <-- please select |Extension = DPL <-- please select |Version = ? |Description = |Status = open }} == Problem == would be nice to ...)
 
(Reply)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{Issue
 
{{Issue
  |Type        = Change Request   <-- please select
+
  |Type        = Change Request
  |Extension  = DPL <-- please select
+
  |Extension  = DPL
 
  |Version    = ?
 
  |Version    = ?
  |Description =  
+
  |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]]
 +
--[[User:Gero|Gero]] 08:47, 20 October 2007 (CEST)

Latest revision as of 08: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)