Controlling output order: Difference between revisions

Content added Content deleted
No edit summary
No edit summary
Line 27: Line 27:
===ordermethod===
===ordermethod===


{{DPL parameter
{{DPL Parameter
|name = ordermethod
|name = ordermethod
|purpose= Determines what criterium (resp. criteria) is (resp. are) used to order the list.
|purpose= Determines what criterium (resp. criteria) is (resp. are) used to order the list.
Line 59: Line 59:


;''none'': do not apply any ordering (except ordering by timestamp if you requested a list of revisions); this method '''must be used when you specify '''openreferences=yes'''.
;''none'': do not apply any ordering (except ordering by timestamp if you requested a list of revisions); this method '''must be used when you specify '''openreferences=yes'''.

Note:
For downward compatibility reasons DPL will use 'addfirstcategory' as its default order method if called via the <dynamicPageList>


Example:
Example:
Line 76: Line 73:
===order===
===order===


{{DPL parameter
{{DPL Parameter
|name = order
|name = order
|purpose= Controls the sort direction of the list.
|purpose= Controls the sort direction of the list.
Line 106: Line 103:
===ordercollation===
===ordercollation===


{{DPL parameter
{{DPL Parameter
|name = ordercollation
|name = ordercollation
|purpose= Allow individual collations, make case insensitive sorting possible
|purpose= Allow individual collations, make case insensitive sorting possible