Difference between revisions of "Issue:"eliminate" not working when including last section of a page"
From FollowTheScore
(→Reply) |
(→Reply) |
||
Line 16: | Line 16: | ||
You are probably right. DPL reads up to the end and finds all the category links. But I still wonder why "eliminate" does not throw these categorizations away afterwards. [[User:Gero|Gero]] 00:32, 15 July 2011 (CEST) | You are probably right. DPL reads up to the end and finds all the category links. But I still wonder why "eliminate" does not throw these categorizations away afterwards. [[User:Gero|Gero]] 00:32, 15 July 2011 (CEST) | ||
+ | |||
+ | : I suspect it's because some categories are added by template calls at the end of the page so they are kind of hidden when DPL parses the page. --[[User:Nakohdo|nakohdo]] 10:52, 15 July 2011 (CEST) |
Revision as of 10:52, 15 July 2011
Description: | When including the last section of a page, categories get included even when using "eliminate". |
Extension / Version: | DPL / 1.8.9 |
Type / Status: | Bug / open |
Problem
When including the last section of a page, categories get included even when using "eliminate".
I suppose that's because "include" includes everything up to the next heading. And as there's no heading after the last section of a page all the stuff that comes at the end of the page (categories, template calls, magic words, etc.) will also get included. And due to parsing order "eliminate" won't catch that stuff. --nakohdo 09:41, 13 July 2011 (CEST)
Reply
You are probably right. DPL reads up to the end and finds all the category links. But I still wonder why "eliminate" does not throw these categorizations away afterwards. Gero 00:32, 15 July 2011 (CEST)
- I suspect it's because some categories are added by template calls at the end of the page so they are kind of hidden when DPL parses the page. --nakohdo 10:52, 15 July 2011 (CEST)