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.

In T6838#134798, @R4356th wrote:

@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.

Redmin reassigned this task from Redmin to Unknown Object (User).Feb 11 2021, 11:12

Reassigning per above.

Unknown Object (User) added a comment.Feb 11 2021, 15:29

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?

Unknown Object (User) added a comment.Feb 12 2021, 16:01

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.

Unknown Object (User) added a comment.Feb 15 2021, 23:20

Hello, what is your wiki?

Unknown Object (User) closed this task as Resolved.Feb 15 2021, 23:55

Done; will be live in less than 10 minutes.

Unknown Object (User) added a comment.Feb 16 2021, 00:18

Thank you!

You're welcome!

Hello. I just noticed that the wgDplSettings['allowUnlimitedCategories'] and wgDplSettings['allowUnlimitedResults'] are available only for DPL and not DPL3. As i would prefer to use DPL3, is it possible to be made accessible for this particular extension? Sorry for the inconveniece.

Unknown Object (User) added a comment.May 4 2021, 00:54

Hello. I just noticed that the wgDplSettings['allowUnlimitedCategories'] and wgDplSettings['allowUnlimitedResults'] are available only for DPL and not DPL3. As i would prefer to use DPL3, is it possible to be made accessible for this particular extension? Sorry for the inconveniece.

Those settings are available in DPL3 see https://github.com/Universal-Omega/DynamicPageList3/blob/92976fef31d7dd2f43426e19cb0895cb8fd31531/extension.json#L73-L74

Yes sorry i didnt explain it in the right way. I meant that earlier this year you had granted me the possibiity to set those settings to true but while we were discussing about DPL3 those setting were made available only for DPL and not DPL3.