Difference between revisions of "Test category hierarchy"
(New page: == 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 cat...) |
|||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{Type Test | ||
+ | |parameter = ordermethod, headingmode | ||
+ | }} | ||
+ | |||
== Test for a Hierarchy of Catgeories == | == Test for a Hierarchy of Catgeories == | ||
Line 62: | Line 66: | ||
---- | ---- | ||
+ | ''category=*African Country'' gives: | ||
+ | <dpl> | ||
+ | category=*African Country | ||
+ | </dpl> | ||
+ | |||
+ | ''category=*African_Country'' gives: | ||
+ | <dpl> | ||
+ | category=*African_Country | ||
+ | </dpl> |
Latest revision as of 11:47, 28 January 2008
Test | ordermethod, headingmode |
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: