DynamicPageList3
DynamicPageList3 copied to clipboard
Configuration settings are not applied
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:
- The default value set in according to the script text ParametersData.php ('count' => [...)
- Values from the parameter $wgDplSettings are transferred to internal variables, but are not applied anywhere
- Similarly, values set in the file extension.json ("config": {"DplSettings": {"value": {..."allowUnlimitedResults": ..."maxResultCount": ...) are not applied
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.