DynamicPageList3 icon indicating copy to clipboard operation
DynamicPageList3 copied to clipboard

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

Open CrystalClearGal opened this issue 3 years ago • 2 comments

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 avatar Apr 09 '22 04:04 CrystalClearGal

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)?

CrystalClearGal avatar Apr 22 '22 03:04 CrystalClearGal

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

MLRodrigue avatar Feb 05 '24 09:02 MLRodrigue