OR-operator for category

Jump to: navigation, search

I can't figure out, how to use an OR Operator for the categories:

<DynamicPageList>
category = Category1
category = Category2
</DynamicPageList>

Output: DLP shows only items, which are in both categories. Category1 AND Category2

I wish to combine the out in this manner: Category1 OR Category2. Is there an OR-Operator?

Bertram Simon15:14, 30 January 2012

I don't think that is possible with this extension.

Helder20:48, 30 January 2012

Helder is correct, such a feature is not implemented in the Wikimedia version of this extension.

Bawolff03:26, 31 January 2012
 

Thank you for your answers. It is a pity. I use DLP for the frontpage of an business-wiki and want to show the last 5 entries of 3 categories.

SimonWpt11:44, 1 February 2012

Well if you're not overly concerned about order you could do something like:

<DynamicPageList>
category = Category1
</DynamicPageList>
<DynamicPageList>
category = Category2
</DynamicPageList>

and it will look like one list (you can even use limit and offset parameters to make the lists interleved). Very far from an ideal solution though.

Bawolff01:17, 2 February 2012

And if you are interested in alphabetical order, you could use JavaScript to sort the resulting list.

Helder12:14, 2 February 2012
 

That's the way, I use it now:)

SimonWpt16:50, 6 February 2012
 
 
 

I've requested this on Bugzilla.

Helder01:10, 19 March 2012
 
Personal tools

Variants
Actions
Navigation
Support
Download
Development
Communication
Toolbox