I know this is an old question, but I would really like to know this, too. I have a template that calls itself on purpose, creating a recursive loop that stops when no successor is defined for a page. When a template includes itself, this in fact is an infinite loop. You see there are pros and cons - I am undecided which of the options I prefer currently.
After all, the only solution from MediaWiki Core in fact is to abort at some point. It includes modules? Something else? There are no pages in talk namespaces in this category. Maybe the code does not work on talk pages at all. When it was hidden by a complex template syntax some parser functions etc. I wonder how important this is, though. And it's the only template with this kind of check.
The problem is I can't see something wrong here. When you insert the infobox, it will execute this code and will try to load the content of the current page. But then it needs to execute again this piece of code and so on So this is the loop and a very interesting case of it. You should find the person who inveted this and tell them about this problem. This error should generate an error message at the site of the error, at least in Preview mode, so that editors have a fighting chance of finding or at least being able to report the problem.
Actually good idea, created T for it. It says Temnplate Loop detected. Little help please? Thank you. IsraelGallegos, this isn't the right avenue to ask for an unblock. But your attitude and the threat you put forth in this thread are unlikely to make other people think you should be unblocked. I wanted to showcase two books in a horizontal row with this template and it shows it's in a loop.
Not always, matmarex , see T Where is the error message displayed in this page? The page itself is transcluded inside expr, the error message is not shown. Have seen the same an dewiki, where the template transclusion was part of a ifeq and therefor the text was not shown.
Was hard to find the issue. I just noticed that all Commons Creator Templates are being added to Category:Pages with template loops. Is there some issue with the Module:Creator used by all of them or is there some issue with incorrect categorization?
I would say it's somewhere deeper since institutions get them as well. If it's a new problem, these edits may be problematic. I do not know if it is a new problem or an issue we had for months. I just noticed it today. I understood template loops in the days of just templates.
0コメント