#621 Change from template maximum to no "cycles"

closed
nobody
5
2004-09-07
2004-08-27
siroxo
No

On Wikipedia, my signature was a little long, so i
decided to make a subpage of my user page for it, and
just set my sig to display that. Unfortunatley due to
the template maximum this means I can only display my
signature 5 times on a page now.

Since the 5 instance maximum for a template on a page
is meant to make sure that the templates cannot recurse
on a page, why not just make it such that a template
cannot call a template that is an ancestor of it? ie,
cannot call itself, cannot call a template that called
it, etc. This could be checked for during each page save.

This would allow as many instances of one particular
template as were necessary on a page without having to
worry about recursion.

Discussion

  • Brion Vibber
    Brion Vibber
    2004-09-07

    • status: open --> closed
     
  • Brion Vibber
    Brion Vibber
    2004-09-07

    Logged In: YES
    user_id=446709

    Already done in 1.4 CVS some time ago.