Topic on Extension talk:DynamicPageList (Wikimedia)

List doesn't refresh when categories are changed

3
JasonPenney (talkcontribs)

I'm using DPL, but I'm finding the list doesn't actually refresh unless I edit the page it's on. For example, I put this on a "Category Intersection" page:

<DynamicPageList>
category = CategoryOne
category = CategoryTwo
</DynamicPageList>

It correctly displays all the pages in both categories. However if I edit one of the listed pages and change it from CategoryOne to CategoryThree, I'd expect a refresh to drop it from the list. It doesn't. If I edit the "Category Intersection" page and save, the list refreshes.

Is this the expected behavior?

JasonPenney (talkcontribs)

Update: it appears to handle adds correctly, but not subtractions. If a page joins a category listed in the DPL tag, it shows up after a refresh. If a page is removed from a category in the DPL tag, the page with the tag must be edited before the item drops from the list.

Bawolff (talkcontribs)

This is expected behaviour (as a compromise between giving super up to date output and performance) See bugzilla:11685.

Reply to "List doesn't refresh when categories are changed"