[Wikia-l] DPL regenerate problems.
Magnus Kristiansen
magnusrk+wiki at pvv.org
Sun Jan 20 22:19:02 UTC 2008
On Sun, 20 Jan 2008 22:57:54 +0100, Janek Kozicki <janek_listy at wp.pl>
wrote:
> Another matter... I cannot understand why __NOTOC__ tag is not
> working on:
>
> http://sawfish.wikia.com/wiki/News
>
>
> I hope to receive some help from you, and thank you for your time! :)
It's because it's in the wrong place. DPL generates its magic results, and
because you include headings it also generates a TOC. The "subarticle" is
then included into the main article. The main article itself doesn't have
a TOC; to make it more obvious, remove __NOTOC__ and add more headings
outside DPL and you'll end up with two TOCs..
The solution is to put __NOTOC__ in the first listseparators field, where
it will affect the DPL content.
--
"Don't worry; the Universe IS out to get you."
More information about the Wikia-l
mailing list