Difference between revisions of "Test addfirstcategorydate"

From FollowTheScore
Jump to: navigation, search
Line 39: Line 39:
 
   addcategories=true
 
   addcategories=true
 
</DPL>
 
</DPL>
 +
 +
<dpl>reset=all</dpl>

Revision as of 12:07, 15 August 2007

Template:Type:Test

show the date when an article was added to a category

You should use only one category to be selected.

<DPL>
   category=African Union member states
   addfirstcategorydate=true
</DPL>

Extension:DynamicPageList (DPL), version 3.2.1: Warning: No parameter option supplied for ' '. (Missing '=')

show the date when an article was added to one of more categories

Since DPL 0.9.7 you can use addfirstcategorydate with more than one catgegory in your query. If you specify more than one category there are two cases:

  • each article belongs only to ONE of your categories
    • then the result is clear
  • there are articles which belong to more than one of your categories
    • in this case the result will be ambiguous (probably the date of the last assigment of that article to one of the categories will be taken)
<DPL>
   category=African Union member states|Fictitious country
   addfirstcategorydate=true
</DPL>

Extension:DynamicPageList (DPL), version 3.2.1: Warning: No parameter option supplied for ' '. (Missing '=')

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.