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

dplvar values being lost in the middle of page template expansion. #171

Open
imyopop opened this issue Apr 28, 2022 · 1 comment
Open

dplvar values being lost in the middle of page template expansion. #171

imyopop opened this issue Apr 28, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@imyopop
Copy link

imyopop commented Apr 28, 2022

DynamicPageList3 version: 3.4.5
MediaWiki version: 1.37.1
PHP version:7.4.29

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

  • Set a value using dplvar - {{#dplvar:set|enhview|titleonly}}
  • Check for that value in many templates - {{#dplvar:enhview}}

What happens?:
It is valued for a while, and then stops, and then comes back

What should have happened instead?:
The value should have always been there until it was erased.

Browser information, screenshots and other applicable information:
https://ddocompendium.com/w/Spectral_Great_Axe_(ML_12)
If you click on the gold arrow in the purple circle, with the question mark, you can see

DPLVar Issue

The template looks for that value, and puts just a title if it finds it. With extra data written to the screen I could see the value was there for everyone but the one with the large text pieces.

Not necessarily asking for you to figure it out, but is there a way for me to see when it changes, or if the template processing is not thread safe.

@imyopop imyopop added the bug Something isn't working label Apr 28, 2022
@imyopop
Copy link
Author

imyopop commented Apr 28, 2022

I have an update. The cases where this happens the template call is {{XXX}}, however, if I put an empty first parameter {{XXX|}} it doesn't happen.

I have fixed the real pages, but have created one in my user page:
Bug Page

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

1 participant