Issue:DPL with include=* appears to break NOTOC

From FollowTheScore
Jump to: navigation, search
Description: DPL with include=* appears to break NOTOC
Extension / Version: DPL   /   1.7.0
Type / Status: Bug   /   answered

Problem

With DPL on the page to include Recent Edits, NOTOC appears to break. If I remove DPL, NOTOC works again.


Reply

Your message is too cryptic. Demonstrate the problem here and we will see.. Gero 22:15, 21 April 2008 (CEST)


Reply 2

I still do not know how you think MW should behave. The transcluded contents in one of the documents contains an explicit TOC statement - so a TOC is produced at that place. And it contains all headlines found after that position, regardless from which document they come. What else do you expect? Gero 10:26, 22 April 2008 (CEST)

Reply 3

That's not only a TOC from one of the documents, but from all of the included documents. For example, on my wiki... http://nixgeex.org/broodwiki/Main_Page check out that long TOC. I'll be trying out your other suggestion about using the String Functions extension, perhaps I can remove all section headers and the TOC won't generate. C.wrinn 16:02, 22 April 2008 (CEST)

Reply 4

Before you do so try to put a NOTOC directly before your DPL call. That should prevent any TOCs from appearing despite the TOC statements in transcluded contents. --Gero 19:00, 22 April 2008 (CEST)


For demonstration purposes:

1

2

3

4

Execandexit not setting dplvars
Last edited by Moviesign on 2014-11-26 17:51:31

The example shown at Execandexit no longer works. It appears that geturlargs is not setting the dplvars. I copied the example to my wiki here and I get the "please specify a category via &cat= in the URL!" message regardless of what I put in the URL. I discovered this when the template Category intersection stopped working.


Aa
Last edited by Gero on 2011-02-08 08:47:22

The Smell of Future
Last edited by Gero on 2010-12-29 11:05:33

The book The Smell of Future was published in 2013.


Equal Rites
Last edited by Theaitetos on 2010-12-27 15:45:29

Equal Rites is the third book of Terry Pratchett's Discworld novel series.


The Colour of Magic
Last edited by Theaitetos on 2010-12-27 15:04:53

The book The Colour of Magic was published in 1983.