Extension talk:DynamicPageList (Wikimedia)

About this board


/Archive 01 - /Archive 02

Bedtry (talkcontribs)

When i sort by


category             = xy

addfirstcategorydate = true

ordermethod          = created


It also displays the date, which can be useful but is there any way to hide that?

Bedtry (talkcontribs)

It then looks like this

  • 19. März 2021: xyz
Mshastchi (talkcontribs)

remove the "addfirstcategorydate" line.

Reply to "Hide dates"

Hide image dimensions in gallery mode?

Neilan (talkcontribs)

I'm using gallery mode with PageImages, and it's working great, I've hidden the file size, but under each image is the image's dimensions (i.e. "980 x 540") and I'm not seeing any obvious way to hide this. Is there a way to get gallery mode to show just the image and page title? (talkcontribs)

same problem, have you found a solution?

Reply to "Hide image dimensions in gallery mode?"
Fokebox (talkcontribs)


Cannot understand how to restrict showing files in category (Media files). I see that there are files in list that has been uploaded to the category. So how to make so, that files are not shown in my list?

Thank you!

Reply to "Notcategory"
Fidoman (talkcontribs)

How often generated lists are updated?

New pages added to category, but if I do not edit and save page containing the list it is not updated.

How update can be forced?

Reply to "Updating list"

Show new created pages list

Summary by Fokebox

Found solution below

Fokebox (talkcontribs)

Hello everyone,

Could you please let me know how can I set a list showing recently created pages at my wiki? Thank you!

Use of undefined constant __DIR__ - assumed -- ERROR

3 (talkcontribs)


what did I wrong ? I downloaded the extension and have it in to the intersection folder. After adding the load entry to the config file following Error occured:

Notice: Use of undefined constant __DIR__ - assumed '__DIR__' in /var/apache2/2.2/htdocs/mediawiki-1.18.1/extensions/intersection/DynamicPageList.php on line 51

Warning: include(__DIR__/DynamicPageList.i18n.php) [function.include]: failed to open stream: No such file or directory in /var/apache2/2.2/htdocs/mediawiki-1.18.1/includes/LocalisationCache.php on line 408

Warning: include() [function.include]: Failed opening '__DIR__/DynamicPageList.i18n.php' for inclusion (include_path='.:/var/php/5.2/pear') in /var/apache2/2.2/htdocs/mediawiki-1.18.1/includes/LocalisationCache.php on line 408

What should I do ?

Bawolff (talkcontribs)

Your version of PHP is too old. Update PHP (or use an older version of DynamicPageList, although you may have to go quite far back). (talkcontribs)

if ( !defined('__DIR__') ) define('__DIR__', dirname(__FILE__)); use this

Reply to "Use of undefined constant __DIR__ - assumed -- ERROR"
Jan.Kamenicek (talkcontribs)

Not all pages belonging to a category are usually placed directly in this category, but many of them can often be found in some of its subcategories. Would it be possible for the DynamicPageList to list also pages from subcategories?

Reply to "Subcategories"

Sort by Popularity in MediaWiki 1.25

6 (talkcontribs)

Am I correct in understanding that the sort by popularity feature of DPL will not work after 1.25? $wgDisableCounters has been removed.

Nemo bis (talkcontribs)

Can you please file a bug asking to restore the feature (hit counters) via an extension? Then we can recommend installation of that extension together with this.

Bawolff (talkcontribs)

Yes you are correct. It will not work.

Kwprns (talkcontribs)

Has this been added back in? Can you sort by popularity so you only see the top 30 pages?

Bawolff (talkcontribs)

no. Patches welcome, but i dont think too many people use these two extensions together so its not a high priority.

Reply to "Sort by Popularity in MediaWiki 1.25"

Articles without categories

3 (talkcontribs)

I need to find every articles which don't have categories.

i've tried to do things like category =_none_ , but nothing seems to work.

if someone has any idea ? Thanks

Bawolff (talkcontribs)

Cannot be done with this extension (best you can do is anything not in a specific category).

Use Special:UncategorizedPages instead. (talkcontribs)

How do you sort by popularity? not restricted by date

Reply to "Articles without categories"
Gunnar.offel (talkcontribs)

I use many pages filtered by categories, that works, no problem there. What me suprises is that the scheme of cat-pages is not covered. Redirects will be shown in italic.

To make the behavior act same just a addition of

.mw-redirect {     font-style: italic; }

is needed.

Reply to "Redirects in Lists (italic)"
Return to "DynamicPageList (Wikimedia)" page.