FANDOM


  • I recently requested that DPL be installed on our wiki and have been trying to use it to create two different views of a set of pages.  The pages represent dates on a non-Gregorian calendar and may or may not contain a bulleted list of events, references, other wikitext, etc.  Everything except for the bulleted items is surrounded with <noinclude> tags.  The events, if present, are in their own Section with the heading ==On This Day==.  The first view is of a single day's events and is generated by Template:On_this_day and works just fine, as seen on my sandbox.  The second view is a full Calendar list which does not display properly.  The problem is that output from some files is absorbed into the list of the previous file.


    As shown in the screen shot, the file Alturiak 1 with its two bullet points got absorbed by the Midwinter file.  It should be in line with Alturiak 2 and so on.  If you view the HTML source of the rendered page it looks like this (newlines added for clarity):

    ...who perform rituals of total sensory deprivation.</li>
    <li><a href="/wiki/Alturiak_1" title="Alturiak 1">Alturiak 1</a><br></li>
    <li>Worshipers of the <a href="/wiki/Halfling" title="Halfling">halfling</a> deity <a href="/wiki/Cyrrollalee" title="Cyrrollalee">Cyrrollalee</a> celebrate Hearthday.</li>
    <li>Followers of <a href="/wiki/Tyr" title="Tyr">Tyr</a> perform the ritual of Seeing Justice at which a giant <a href="/wiki/Warhammer" title="Warhammer">warhammer</a> appears above the congregation glowing white hot.</li>
    </ul>
    </li><li><a href="/wiki/Alturiak_2" title="Alturiak 2">Alturiak 2</a>
    

    As you can see, the </ul> tag is missing after "sensory deprivation.</li>.

    Both of these DPL statements use include = * and they both respect the <noinclude> tags, which is what I want.

    I have tried using include = #On This Day but it always ignores the <noinclude> tags and I get references. See this calendar page and also note that the absorption does not happen.

    Is there any way I can get DPL to respect the noincludes and not mess up the list of dates?

    Thanks for listening :) —Moviesign (talk) 04:01, February 18, 2014 (UTC)

      Loading editor
Give Kudos to this message
You've given this message Kudos!
See who gave Kudos to this message
Community content is available under CC-BY-SA unless otherwise noted.