Difference between revisions of "Issue:Namespace = foo OR bar not working"

From FollowTheScore
Jump to: navigation, search
(New page: {{Issue |Type = Bug |Extension = DPL |Version = 1.8.6 |Description = namespace = foo OR is not working? |Status = open }} == Problem == Image:Cookie.jpg is use...)
 
m
Line 29: Line 29:
  
 
'''Note''': I tried all variations for namespace=User||Category, but either it returns an error when <nowiki>''</nowiki> is used for Main only the last is considered on namespace=User|Category. Same for "category=Test Images" instead og imageused=Cookie.jpg.
 
'''Note''': I tried all variations for namespace=User||Category, but either it returns an error when <nowiki>''</nowiki> is used for Main only the last is considered on namespace=User|Category. Same for "category=Test Images" instead og imageused=Cookie.jpg.
 +
 +
You can also test your own examples from the manual like
 +
<pre>
 +
<DPL>
 +
  category=Policy
 +
  namespace=Wikinews|Discussion
 +
</DPL>
 +
</pre>
 +
Result:
  
 
== Reply ==
 
== Reply ==

Revision as of 20:48, 5 July 2009

Description: namespace = foo OR is not working?
Extension / Version: DPL   /   1.8.6
Type / Status: Bug   /   open

Problem

Image:Cookie.jpg is used on: Muha Test, Category:Test Images and User:Subfader/Z. Now lets return those 3 as page links according to Namespace#namespace:
Code

{{#dpl:
|debug=0
|namespace=User||Category
|imageused=Cookie.jpg
|count=1
|format=,[[%PAGE%]],,
}}

Result:

Extension:DynamicPageList (DPL), version 3.2.1: Warning: No parameter option supplied for 'Category'. (Missing '=')

User:Subfader

Note: I tried all variations for namespace=User||Category, but either it returns an error when '' is used for Main only the last is considered on namespace=User|Category. Same for "category=Test Images" instead og imageused=Cookie.jpg.

You can also test your own examples from the manual like

<DPL>
  category=Policy
  namespace=Wikinews|Discussion
</DPL>

Result:

Reply