Test category hierarchy

From FollowTheScore
Revision as of 11:47, 28 January 2008 by Gero (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
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'.

  1. Antwerpen
  2. Test noeditsection
  3. Frankfurt
  4. Munich
  5. Hamburg
  6. Antwerpen
  7. Test noeditsection
  8. Frankfurt
  9. Munich
  10. Hamburg
  11. Test noeditsection

With ordermethod=category,sortkey we get:

Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option 'H4' for parameter 'headingmode'.

  1. Antwerpen
  2. Test noeditsection
  3. Frankfurt
  4. Test noeditsection
  5. Antwerpen
  6. Hamburg
  7. Munich
  8. Frankfurt
  9. Test noeditsection
  10. Hamburg
  11. 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'.

  1. Antwerpen
  2. Test noeditsection
  3. Frankfurt
  4. Test noeditsection
  5. Antwerpen
  6. Hamburg
  7. Munich
  8. Frankfurt
  9. Test noeditsection
  10. Hamburg
  11. Munich

category=*African Country gives:

category=*African_Country gives: