Difference between revisions of "Test addcategories"

From FollowTheScore
Jump to: navigation, search
(show articles and their categories, grouped by categories)
Line 33: Line 33:
 
For some strange reason in MySQL 4.x (running on this server) the result is too large: the identical SQL statement works correctly on MySQL 5.0; maybe the reason lies in the existence of the view which is needed to support uncategorized pages (this view is not present in this web site).
 
For some strange reason in MySQL 4.x (running on this server) the result is too large: the identical SQL statement works correctly on MySQL 5.0; maybe the reason lies in the existence of the view which is needed to support uncategorized pages (this view is not present in this web site).
  
 +
<nowiki>
 
<dpl>
 
<dpl>
 
debug=3
 
debug=3
Line 41: Line 42:
 
   titlematch=%ma%
 
   titlematch=%ma%
 
</dpl>
 
</dpl>
 +
</nowiki>
  
 
== show categories without links ==
 
== show categories without links ==

Revision as of 12:04, 15 August 2007

Template:Type:Test

show articles and their categories

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

show articles and their categories, grouped by categories

The following report has a bug which depends on the version of MySQL you use.

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

For some strange reason in MySQL 4.x (running on this server) the result is too large: the identical SQL statement works correctly on MySQL 5.0; maybe the reason lies in the existence of the view which is needed to support uncategorized pages (this view is not present in this web site).

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

show categories without links

  • Somalia   African Union member states, Arab League, Divided regions, East Africa, Pages with broken file links, Somalia

Extension:DynamicPageList (DPL), version 3.2.1: Error: No selection criteria found! You must use at least one of the following parameters: category, namespace, titlematch, linksto, uses, createdby, modifiedby, lastmodifiedby, or their 'not' variants


Extension:DynamicPageList (DPL), version 3.2.1: Warning: No results.