Commons:Requests for comment/DynamicPageList extension

From Wikimedia Commons, the free media repository
Jump to: navigation, search


« DynamicPageList is a MediaWiki extension which allows wiki users to create a list of pages that are listed in a set of categories. »

It is currently enabled on (at least) Meta, wikiquote and wikinews.


  • The DPL extension searches pages or files that meet the defined category criteria and displays them in lists or galleries. That way one can browse several category trees at once, e.g. searching for all SVG crowns that belong to the category:heraldic crowns and are licensed as public domain.
For details see also mw:Extension:DynamicPageList (Wikimedia)#Use


  • Will this work at Commons or will it kill the servers? We have huge categories and finding intersections and sorting is tricky. Can you ask a tech whether it is even possible to use it at Commons before people start to vote? Thank you. -- Rillke(q?) 10:13, 5 June 2013 (UTC)
This could be really great, and a vast help to users here. However, I share with Rillke the concerns about whether the servers can handle it, and even if they can whether the speed will be anything like reasonable for large categories. --MichaelMaggs (talk) 15:38, 5 June 2013 (UTC)
DynamicPageList uses a naive approach for categoryintersection (There are better approaches, like using full text indexes...). I do not think it has good enough performance to be used on commons. Bawolff (talk) 19:52, 18 June 2013 (UTC)
Does something like this exist as extension? And is there any chance getting this reviewed and deployed? -- Rillke(q?) 08:21, 13 August 2013 (UTC)
mw:Extension:AdvancedSearch does something in that direction. Probably the path of least resistance would to modify DynamicPageList (That still represents a lot of work). From what I understand, Wikidata is planning to use full text indexes for some sort of intersection feature (as part of their "phase3"). I'm not sure about the details though. Bawolff (talk) 15:52, 13 August 2013 (UTC)
On a related note, Chad and Nik are currently giving the search infrastructure love. I believe (not sure) one of the things they plan to do, is make the incategory: operator for the search box actually work properly, which could be used for intersections. Bawolff (talk) 16:04, 13 August 2013 (UTC)
  • This would be nice even with the category intersection disabled. One application could be for UploadWizard Campaigns. Here we can easily force categories to be added to uploads, and with DPL we could display recent uploads directly on the project pages (such as COM:CHALLENGE). --Dschwen (talk) 00:51, 18 December 2013 (UTC)