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

|include=#Section does not respect noinclude or onlyinclude tags #162

Open
CrystalClearGal opened this issue Apr 9, 2022 · 2 comments
Open
Labels
bug Something isn't working

Comments

@CrystalClearGal
Copy link

CrystalClearGal commented Apr 9, 2022

DynamicPageList3 version: 3.4.5
MediaWiki version: 1.37.2 (Miraheze)
PHP version: 7.4.28

TLDR: Problem observed here:
https://dpl3.miraheze.org/wiki/Criteria_for_page_selection/Parameter:_title_(example_1)

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

  • On an "Apple" page, make a Notes section with content, followed by a category for the page in either noinclude or includeonly tags.
  • Put on another page:
{{#dpl:
|title=Apple
|include=#Notes
}}

What happens?:
The page with the dpl statement will be erroneously categorized because it ignores the noinclude/includeonly tags, as can be observed here.

What should have happened instead?:

DPL3 should be able to correctly noinclude/includeonly, and not cause unintended categorization.

Browser information, screenshots and other applicable information:

Not related.

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

CrystalClearGal commented Apr 22, 2022

An update , I now see |eliminate = categories can be used to filter off categories, though I still suspect it is unintentional/undesired for DPL3 to ignore noinclude/onlyinclude tags. Though perhaps there's some reason for this behavior that I'm just not understanding (likely)?

@MLRodrigue
Copy link

I have the same issue. I need to exclude footnote tags from the section transclusion and put them in noinclude tags. But the noinclude tags have no effect.
DPL3 version: 3.5.1

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