Difference between revisions of "DPL talk:Manual"

From FollowTheScore
Jump to: navigation, search
(Top Most Visited Pages ?)
Line 24: Line 24:
  
 
Is there a way with DPL to get the N "Top Visited Pages" during a specified period ?
 
Is there a way with DPL to get the N "Top Visited Pages" during a specified period ?
Ex: get the 10 most visited page since the begining of the week ?
+
Ex: get the 10 most visited page since the begining of the week ? ([[User talk:Patwac|talk]]) 17h04, 14 December 2007 (CET)

Revision as of 17:05, 14 December 2007

Counting Results

So which parameter(s) will give me a count of the number of pages that fit the criteria instead of the pages themselves? —Sledged (talk) 04:49, 29 November 2007 (CET)

I don´t understand your question. Give an example. Gero 08:47, 29 November 2007 (CET)

Let's take the search criteria in the example on the Main Page:
category=African Union member states
nottitlematch=Sudan
There are three pages that match this criteria, so I want the output:
3
instead of getting a list of those pages. I just want to count the number of pages that match the criteria. I thought I'd be able to specify that with the mode parameter, but that doesn't seem to be an option. —Sledged (talk) 15:40, 29 November 2007 (CET)


o.k. : use The %PAGES% parameter in the resultsheader. It will contain the correct value even if you use regular expression to filter template calls by the parameter values they use.
Gero 17:13, 29 November 2007 (CET)


Top Most Visited Pages ?

Is there a way with DPL to get the N "Top Visited Pages" during a specified period ? Ex: get the 10 most visited page since the begining of the week ? (talk) 17h04, 14 December 2007 (CET)