Difference between revisions of "Test category hierarchy"
Line 69: | Line 69: | ||
<dpl> | <dpl> | ||
category=*African Country | category=*African Country | ||
+ | </dpl> | ||
+ | |||
+ | ''category=*African_Country'' gives: | ||
+ | <dpl> | ||
+ | category=*African_Country | ||
</dpl> | </dpl> |
Revision as of 02:38, 24 August 2007
Test for a Hierarchy of Catgeories
In this Example we have a hierarchy of categories; each Country is a category and each city as well; the category pages on cities belong to a category which is named after the country and to a category named "Cities". The country category pages belong to category "Countries". The sequence of first edit dates differs from the alphabetical sequence.
Antwerpen -- Cities,Belgium Belgium -- Countries Bad Nauheim -- Cities,Germany Germany -- Countries Frankfurt -- Cities,Germany Hamburg -- Cities,Germany Munich -- Cities,Germany
With ordermethod=category,firstedit we get:
Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option 'H4' for parameter 'headingmode'.
- Antwerpen
- Test noeditsection
- Frankfurt
- Munich
- Hamburg
- Antwerpen
- Test noeditsection
- Frankfurt
- Munich
- Hamburg
- Test noeditsection
With ordermethod=category,sortkey we get:
Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option 'H4' for parameter 'headingmode'.
- Antwerpen
- Test noeditsection
- Frankfurt
- Test noeditsection
- Antwerpen
- Hamburg
- Munich
- Frankfurt
- Test noeditsection
- Hamburg
- Munich
With ordermethod=category,sortkey and a "+" before the categories we get:
Note: Putting a "+" before the categories allows only the selected categories to appear in the headers
Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option 'H4' for parameter 'headingmode'.
Extension:DynamicPageList (DPL), version 3.2.1: Warning: No results.
With ordermethod=category,sortkey and a "-" before the categories we get:
Note: Putting a "-" before the categories prevents the category from appearing in the headers
Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option 'H4' for parameter 'headingmode'.
- Antwerpen
- Test noeditsection
- Frankfurt
- Test noeditsection
- Antwerpen
- Hamburg
- Munich
- Frankfurt
- Test noeditsection
- Hamburg
- Munich
category=*African Country gives:
- DPL Example 015
- Issue:Includematch does not filter results
- Republic of Burundi
- Republic of Cameroon
- Republic of Cape Verde
- United Republic of Tanzania
- Category:North Africa
- Sudan
category=*African_Country gives: