Difference between revisions of "Test addfirstcategorydate"

From FollowTheScore
Jump to: navigation, search
(show the date when an article was added to one of more categories)
Line 17: Line 17:
 
== show the date when an article was added to one of more categories ==
 
== show the date when an article was added to one of more categories ==
  
Since DPL 0.9.7 you can use addfirstcatgeorydate with more than one catgegory in your query.
+
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:
 
If you specify more than one category there are two cases:
 
* each article belongs only to ONE of your categories
 
* each article belongs only to ONE of your categories
 
** then the result is clear
 
** then the result is clear
 
* there are articles which belong to more than one of your categories
 
* there are articles which belong to more than one of your categories
** in this case the result will be ambiguous (one of the catgeories will be taken by random)
+
** 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)
  
 
<pre><nowiki>
 
<pre><nowiki>

Revision as of 12:37, 1 March 2007

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 '=')