User talk:Pokechu22: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Line 3: Line 3:


:Thanks.  I actually saw the warning but didn't know what to make of it.  (I also didn't see any uses of Template:Exist in the history of Template:Infobox VG so I assumed it just never had been tried before, but I just didn't look beyond the first 50 entries so I missed [https://wiki.dolphin-emu.org/index.php?title=Template:Infobox_VG&diff=146805&oldid=142455 your edit]).  IMO, having 243 entries in an error page where pages where the problem is actually present is visible is much preferable to having thousands of entries on a page that also is useful for knowing where to contribute.  But I don't know if the error actually causes problems on the server end.  (My guess is that the pages (I think I saw that Template:Exist uses pages as templates or something like that?) that trigger the infinite loop are those that actually have multiple versions, where the other version is transcluding the original version again.  But I'm not sure if that's actually the case.  If it is the case, I wonder if there's a way to detect that it's already at one level of transclusion and just stop?)  --[[User:Pokechu22|Pokechu22]] ([[User talk:Pokechu22|talk]]) 06:17, 24 November 2019 (CET)
:Thanks.  I actually saw the warning but didn't know what to make of it.  (I also didn't see any uses of Template:Exist in the history of Template:Infobox VG so I assumed it just never had been tried before, but I just didn't look beyond the first 50 entries so I missed [https://wiki.dolphin-emu.org/index.php?title=Template:Infobox_VG&diff=146805&oldid=142455 your edit]).  IMO, having 243 entries in an error page where pages where the problem is actually present is visible is much preferable to having thousands of entries on a page that also is useful for knowing where to contribute.  But I don't know if the error actually causes problems on the server end.  (My guess is that the pages (I think I saw that Template:Exist uses pages as templates or something like that?) that trigger the infinite loop are those that actually have multiple versions, where the other version is transcluding the original version again.  But I'm not sure if that's actually the case.  If it is the case, I wonder if there's a way to detect that it's already at one level of transclusion and just stop?)  --[[User:Pokechu22|Pokechu22]] ([[User talk:Pokechu22|talk]]) 06:17, 24 November 2019 (CET)
::I think it's as simple as one page's call to Infobox transcluding another page's call to Infobox (remember that Infobox VG is used on every single game page), or otherwise just having a template that calls itself in any way without transclusion, MediaWiki hates loops like that because it's designed to not be Turing complete. I didn't look too deeply but I don't think there's any other ways to detect the existence of a page besides these two methods. Maybe ifexist can be tweaked to not create redlinks on the server side, since it seems pretty useless to do that, but I don't know anything about that. - [[User:Xerxes|Xerxes]] ([[User talk:Xerxes|talk]]) 19:47, 24 November 2019 (CET)
6,906

edits

Navigation menu