Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuration settings are not applied #273

Open
karaby opened this issue May 20, 2024 · 0 comments
Open

Configuration settings are not applied #273

karaby opened this issue May 20, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@karaby
Copy link

karaby commented May 20, 2024

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 karaby added the bug Something isn't working label May 20, 2024
@Universal-Omega Universal-Omega self-assigned this May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants