DynamicPageList3 icon indicating copy to clipboard operation
DynamicPageList3 copied to clipboard

Configuration settings are not applied

Open karaby opened this issue 1 year ago • 1 comments

DynamicPageList3 version:3.5.2 MediaWiki version:1.39.7 PHP version:8.2.14

List of steps to reproduce (step by step, including full links if applicable):

  • Set the parameters in the file LocalSettings.php. ex. $wgDplSettings['allowUnlimitedResults'] = true; or $wgDplSettings['maxResultCount'] = 10000; before wfLoadExtension( 'DynamicPageList3' );
  • run DLP template

What happens?: the query returns only 500 rows always

Analysis of the extension text showed:

  1. The default value set in according to the script text ParametersData.php ('count' => [...)
  2. Values from the parameter $wgDplSettings are transferred to internal variables, but are not applied anywhere
  3. Similarly, values set in the file extension.json ("config": {"DplSettings": {"value": {..."allowUnlimitedResults": ..."maxResultCount": ...) are not applied

karaby avatar May 20 '24 04:05 karaby

Are you setting count in the DPL parameter? 500 is default count, those configurations only change the max, if you dont manually set count as a parameter to something higher then 500, it will always be 500.

Universal-Omega avatar Feb 09 '25 19:02 Universal-Omega