Application DPL-tracker

From FollowTheScore
Jump to: navigation, search

I cannot figure out why my TOC is showing up after formatting a DPL like so:

<DPL>
category=February 2010
count=20
ordermethod=firstedit
order=descending
userdateformat= M d, Y
addeditdate=true
include=%1
eliminate=templates
format=,¶<br><h3>'''[[%PAGE%]]'''</h3> __NOTOC__,
</DPL>

You can find the page here.

Any suggestions? Kristinpedia 22:01, 3 March 2010 (UTC)


Reply

When you set "debug=5" in one of your DPL queries you will see that there is a _TOC_ pragma within the text output produced by DPL. It may come from a style sheet or from the original sources of the pages you include. I recommend to embed the DPL queries within a #replace statement to eliminate these pragmas.

When doing this you have to change the dpl calls to parser function calls - otherwise the replacement statement will not work (due to the expansion logic and hierarchy of MW). I made the necessary changes in your wiki and stored the modified page under http://sunshinereview.org/index.php/The_Sunshine_Review_Gazette_2.

Unfortunately the references chapter does not work in combination with DPL. I still suspect that the problem lies within the CITE extension but do not have time for deeper investigations.

Gero 07:40, 7 March 2010 (UTC)