Page MenuHomeMiraheze

In Local Settings set $wgDplSettings['allowUnlimitedCategories'] = true;
Closed, ResolvedPublic

Description

I would like to enable in Dynamic Page List 3 extension the ability to create a list with all possible categories

Event Timeline

Ilias_Siachos created this task.
Reception123 lowered the priority of this task from High to Normal.Feb 11 2021, 10:37

Hi, what is your wiki's miraheze.org URL?

@Universal_Omega: Is this safe? I think you've raised performance concerns before with it.

I know there's a few different versions of DPL but can we look into whether anything in https://phabricator.wikimedia.org/T262391 is of relevance to us.

@Universal_Omega: Is this safe? I think you've raised performance concerns before with it.

I know there's a few different versions of DPL but can we look into whether anything in https://phabricator.wikimedia.org/T262391 is of relevance to us.

I do not believe WMF uses DPL3 or the version that @Universal_Omega maintains. But I did notice that the setting is set to false by default which is why I asked for the wiki URL instead of adding it to ManageWiki.

@Universal_Omega: Is this safe? I think you've raised performance concerns before with it.

I know there's a few different versions of DPL but can we look into whether anything in https://phabricator.wikimedia.org/T262391 is of relevance to us.

I do not believe WMF uses DPL3 or the version that @Universal_Omega maintains. But I did notice that the setting is set to false by default which is why I asked for the wiki URL instead of adding it to ManageWiki.

I know we had another similar task though and UO was considering but a max cap on the categories rather than unlimited for now.

As response to above, yes I do believe we should put a max cap on categories, as for everything DPL queries to display (either DPL (Wikimedia) or DPL3), it must query the database, which not putting max caps on stuff like this puts a huge load on our databases.

Ok then could we set a maximum limit like 20 categories? And one other question. Is there also a problem with appearing all the possible results? If yes and considering that the use of DPL in our wiki should produce maximum 1000 results can we also set a limit?

Well I did add the unlimited configs to ManageWiki for Wikimedia DPL, so I guess we can for DPL3 but see https://github.com/miraheze/mw-config/pull/3506#issuecomment-737000265 also.

Done; will be live in less than 10 minutes.