Bill Clark wrote:
On Wed, 14 Jul 2004 23:46:35 +0200, Jens Frank
<jeluf(a)gmx.de> wrote:
If article [[X]] includes [[Template:A]] which
includes [[Template:B]],
which again includes [[Template:A]], this would result in a memory
bomb using only two different templates.
I think Emmanuel's suggestion is more akin to PHP's include_once() and
thus wouldn't be vulnerable to the type of problem you're describing.
That's what we already do. MAX_INCLUDE_REPEAT is a maximum for
inclusions of a given template, there's no limit on the number of
different templates included. So if A included B and B included A, you'd
get 5 copies of each: A->B->A->B->A->B->A->B->A->B->link to
A.
This is unacceptable because people want to use templates for things
which are included many times in a single page, like superscript "Le" on
fr, or fancy bullet points.
-- Tim Starling