User:Teratornis/DynamicPageList
RationalWiki is the first wiki I have used that is running the DynamicPageList extension. These are my notes about learning to use it.
Contents |
[edit] First contact
User:SusanG called my attention to this extension on 18 October 2007:
[edit] List popular pages in a namespace
The following code:
<DPL> namespace = Conservapedia ordermethod = counter order = descending addpagecounter = true count = 10 </DPL>
lists the ten most popular pages in the Conservapedia: namespace:
- What is going on at CP? (2,256,602 views)
- Best of Conservapedia (222,417 views)
- Conservapedian mathematics (90,048 views)
- FBI Incident (58,971 views)
- Conservative (56,401 views)
- Newcomer's Guide (55,917 views)
- Conservapedian relativity (53,821 views)
- Timeline (51,833 views)
- Ed Poor (48,455 views)
- TK (39,643 views)
References:
- User talk:Teratornis#Popular pages outside of mainspace
- http://semeb.com/dpldemo/DPL:Manual_-_DPL_parameters:_Criteria_for_page_selection#namespace
- http://semeb.com/dpldemo/DPL:Manual_-_DPL_parameters:_Controlling_output_format#mode
[edit] List my user talk pages by modification time
MediaWiki notifies the user when someone edits the user's talk page, but not when someone edits a talk page of any of the user's subpages. If a user has several talk pages, the user may have trouble monitoring all of them for comments. DynamicPageList can help.
The following code:
<DPL> namespace = User_talk titlematch = Teratornis% ordermethod = lastedit order = descending addeditdate = true count = 10 </DPL>
lists my user talk pages in descending order of modification time (i.e., the most-recently-edited talk page is at the top):
- 2012-01-04 01:57:06 Teratornis
- 2010-07-24 03:37:52 Teratornis/RichardDawkins.net posts
- 2010-07-24 03:37:48 Teratornis/Wiki tasks
- 2010-07-24 03:37:45 Teratornis/Index
- 2010-07-24 03:37:41 Teratornis/Index/About
- 2010-07-24 03:37:34 Teratornis/DynamicPageList
I limit the count to ten pages, because I generally only need to check the most recently edited talk pages for new comments. It's unlikely I would have pending comments on more than ten of my talk pages at once. (As of 14:02, 25 October 2007 (EDT), I don't even have ten such pages total, but later I might.)
References:
- http://semeb.com/dpldemo/DPL:Manual_-_DPL_parameters:_Criteria_for_page_selection#namespace
- http://semeb.com/dpldemo/DPL:Manual_-_DPL_parameters:_Criteria_for_page_selection#titlematch
- http://semeb.com/dpldemo/DPL:Manual_-_DPL_parameters:_Controlling_output_order#ordermethod
- http://semeb.com/dpldemo/DPL:Manual_-_DPL_parameters:_Controlling_output_order#order
- http://semeb.com/dpldemo/DPL:Manual_-_DPL_parameters:_Controlling_output_volume#addeditdate
[edit] List my user pages and talk pages by popularity
A user who has several user subpages and talk pages of them may want to list them by popularity (i.e., number of views).
The following code:
<DPL> namespace = User|User_talk titlematch = Teratornis% ordermethod = counter order = descending addpagecounter = true count = 20 </DPL>
lists my user (sub)pages and their talk pages in descending order of popularity:
- Teratornis (2,325 views)
- Teratornis (1,803 views)
- Teratornis/Wiki tasks (1,134 views)
- Teratornis/Wiki tasks (858 views)
- Teratornis/Index (603 views)
- Teratornis/RichardDawkins.net posts (476 views)
- Teratornis/Index (351 views)
- Teratornis/Index/About (220 views)
- Teratornis/Index/About (220 views)
- Teratornis/RichardDawkins.net posts (173 views)
- Teratornis/DynamicPageList (172 views)
This page itself (User:Teratornis/DynamicPageList) does not appear in the output.
References:
- http://semeb.com/dpldemo/DPL:Manual_-_DPL_parameters:_Criteria_for_page_selection#namespace
- http://semeb.com/dpldemo/DPL:Manual_-_DPL_parameters:_Criteria_for_page_selection#titlematch
- http://semeb.com/dpldemo/DPL:Manual_-_DPL_parameters:_Controlling_output_order#ordermethod
- http://semeb.com/dpldemo/DPL:Manual_-_DPL_parameters:_Controlling_output_order#order
- http://semeb.com/dpldemo/DPL:Manual_-_DPL_parameters:_Controlling_output_volume#addpagecounter
[edit] See also
To-do: find any other pages on RationalWiki that document or exemplify the use of DynamicPageList.
[edit] External links
- http://www.mediawiki.org/wiki/Extension:DynamicPageList
- metawikipedia:Help:DPL
- http://semeb.com/dpldemo/DPL:Manual
- http://semeb.com/dpldemo/Category:DPL_Manual
- Search the DPL manual and surrounding pages with Google (unfortunately I can't limit the search to just the manual, because the DPL manual page names contain spaces and hyphens for pseudo-subpage delimiters rather than slashes, and Google can only deal with slashes when selecting what it considers "subdirectories" of a site to search)