Difference between revisions of "Test addfirstcategorydate"
From FollowTheScore
(→show the date when an article was added to one of more categories) |
|||
Line 1: | Line 1: | ||
+ | {{Type:Test | ||
+ | |parameter = addfirstcategorydate | ||
+ | }} | ||
== show the date when an article was added to a category == | == show the date when an article was added to a category == | ||
Revision as of 10:47, 4 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 '=')
- 2007-01-20 23:12:21 Cameroon
- 2007-01-20 20:27:52 Nigeria
- 2007-01-20 15:32:03 Somalia
- 2007-01-23 20:20:31 Sudan
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 '=')
- 2007-01-20 15:32:03 Somalia . . Categories: African Union member states | Arab League | Divided regions | East Africa | Pages with broken file links | Somalia
- 2007-01-20 20:27:52 Nigeria . . Categories: African Union member states | Constitutional republics | D8 nations | Economic Community of West African States | English-speaking countries | Former British colonies | G15 nations | Nigeria | Pages with broken file links | Peace and Security Council | Seafaring nations
- 2007-01-20 23:12:21 Cameroon . . Categories: African Union member states | Cameroon | English-speaking countries | French-speaking countries | La Francophonie | Pages with broken file links | Peace and Security Council
- 2007-01-21 19:42:14 Nigunda . . Categories: Fictitious country | Tag Event | Tag Event2 | Tag XXX | Tag YYY
- 2007-01-21 19:41:48 Somango . . Categories: English-speaking countries | Fictitious country
- 2007-01-23 20:20:31 Sudan . . Categories: African Union member states | Arab League | Arabic-speaking countries | Middle Eastern countries | Military dictatorship | North Africa | Pages with broken file links | Peace and Security Council | Sudan
- 2007-02-21 12:57:40 Nigunda Test . . Categories: English-speaking countries | Fictitious country
- 2009-04-14 15:02:23 DPL Example 007 main page 1 . . Categories: DPL Example 007 main cat | Fictitious country