Talk:Chief Interrogator Washington: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>Felderburg
(Created page with "== WIP? == I was looking at the WIP category, and I clicked on this guy randomly. Although he's listed on the category page, and editing him says he uses the WIP template, I don...")
 
imported>Sekoia
(yikes, what a mess...)
Line 2: Line 2:


I was looking at the WIP category, and I clicked on this guy randomly. Although he's listed on the category page, and editing him says he uses the WIP template, I don't see it in the actual code. What's up with that? [[User:Felderburg|Felderburg]] 19:20, 31 May 2013 (UTC)
I was looking at the WIP category, and I clicked on this guy randomly. Although he's listed on the category page, and editing him says he uses the WIP template, I don't see it in the actual code. What's up with that? [[User:Felderburg|Felderburg]] 19:20, 31 May 2013 (UTC)
: After some confusing sleuthing, I've tracked the issue down. The article has a {{tl|Mission Briefing}} that references [[Calvin Scott (Praetorian)]]; Calvin's article uses {{tl|wip}}. {{tl|Mission Briefing}} uses {{tl|linkifexists}} which in turn uses {{tl|exists}}. And {{tl|exists}} is where the problem lies. The template's documentation states: "The method is based on transclusion [...] Even if this result is used for comparison only, [...] the page counts as being transcluded." So it appears that the use of {{tl|exists}} on [[Calvin Scott (Praetorian)]] is causing Washington's article to think it's transcluding [[Calvin Scott (Praetorian)]], along with everything transcluded within Scott's article, even though it's not actually being transcluded. A bit of a mess.
: I believe the only solution would be to change {{tl|linkifexists}} to use #ifexist instead of {{tl|exists}}. However, I'm pretty sure we switched to {{tl|exists}} because of some problem with #ifexist. So I'm hesitant to switch it back since I can't remember why we switched in the first place. -- [[User:Sekoia|Sekoia]] 23:24, 31 May 2013 (UTC)

Revision as of 23:24, 31 May 2013

WIP?

I was looking at the WIP category, and I clicked on this guy randomly. Although he's listed on the category page, and editing him says he uses the WIP template, I don't see it in the actual code. What's up with that? Felderburg 19:20, 31 May 2013 (UTC)

After some confusing sleuthing, I've tracked the issue down. The article has a {{Mission Briefing}} that references Calvin Scott (Praetorian); Calvin's article uses {{wip}}. {{Mission Briefing}} uses {{linkifexists}} which in turn uses {{exists}}. And {{exists}} is where the problem lies. The template's documentation states: "The method is based on transclusion [...] Even if this result is used for comparison only, [...] the page counts as being transcluded." So it appears that the use of {{exists}} on Calvin Scott (Praetorian) is causing Washington's article to think it's transcluding Calvin Scott (Praetorian), along with everything transcluded within Scott's article, even though it's not actually being transcluded. A bit of a mess.
I believe the only solution would be to change {{linkifexists}} to use #ifexist instead of {{exists}}. However, I'm pretty sure we switched to {{exists}} because of some problem with #ifexist. So I'm hesitant to switch it back since I can't remember why we switched in the first place. -- Sekoia 23:24, 31 May 2013 (UTC)