Difference between revisions of "Test addcategories"

From FollowTheScore
Jump to: navigation, search
Line 1: Line 1:
 
=== show articles and their categories ===
 
=== show articles and their categories ===
  
Note: We search all articles containing "n" somewhere in the name to avoid a huge result list.
+
Note: We search all articles containing "m" somewhere in the name to avoid a huge result list.
  
 
<pre><nowiki>
 
<pre><nowiki>
Line 17: Line 17:
 
=== show articles and their categories, grouped by categories ===
 
=== show articles and their categories, grouped by categories ===
  
Note: Again, we restrict the search to articles containing "n" somewhere in the name
+
Note: Again, we restrict the search to articles containing "ma" somewhere in the name
  
 
<pre><nowiki>
 
<pre><nowiki>
Line 25: Line 25:
 
   ordermethod=category,sortkey
 
   ordermethod=category,sortkey
 
   addcategories=true
 
   addcategories=true
   titlematch=%n%
+
   titlematch=%ma%
 
</dpl>
 
</dpl>
 
</nowiki></pre>
 
</nowiki></pre>
Line 34: Line 34:
 
   ordermethod=category,sortkey
 
   ordermethod=category,sortkey
 
   addcategories=true
 
   addcategories=true
   titlematch=%n%
+
   titlematch=%ma%
 
</dpl>
 
</dpl>

Revision as of 13:24, 15 February 2007

show articles and their categories

Note: We search all articles containing "m" somewhere in the name to avoid a huge result list.

<dpl>
  addcategories=true
  titlematch=%m%
</dpl>

show articles and their categories, grouped by categories

Note: Again, we restrict the search to articles containing "ma" somewhere in the name

<dpl>
  namespace=
  headingmode=H4
  ordermethod=category,sortkey
  addcategories=true
  titlematch=%ma%
</dpl>

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