Last modified: 2008-01-16 06:05:52 UTC
Template code written within comment borders (<!-- -->) is being expanded, when entire page is substed to another one, and results in endless loop. Example: page "Lorem ispum" contains: <!-- This is Lorem ispum page --> <!-- To clear this page, use {{subst:/clear}} --> blah blah foo bar page "Lorem ispum/clear" contains: <!-- This is Lorem ispum page --> <!-- To clear this page, use {{subst:/clear}} --> When saving {{subst:/clear}} in empty "Lorem ipsum" page, it expands the template in comment and shows the <!-- WARNING: template loop detected --> warning as well. So the result is like: <!-- This is Lorem ispum page --> <!-- To clear this page, use <!-- This is Lorem ispum page --> <!-- To clear this page, use [[/clear]]<!-- WARNING: template loop detected --> -->
Since some misunderstandings occured, I rather add the fact this is supposed to be tested in namespaces with subpages allowed.
Looks it has been ironed out during the time with some revision since it can't be reproduced now.