Template talk:Infobox VG

From Dolphin Emulator Wiki
Jump to: navigation, search

Namco Bandai Games

In a very very specific situation, where there's both {{vgrelease|JP=Namco}} and {{vgrelease|JP=Namco Bandai Games}} in the same section of an infobox, in that exact order, Namco Bandai Games wont link properly; "Namco" alone gets detected, and the "Bandai Games" part is unlinked. For an example, see Tank Force. Both separately work fine, but only together and in this order does this occur. I think the problem is that the replacement regex is a bit too overzealous and dips into the second vgrelease since it found the word "Namco" in there. - Xerxes (talk) 14:52, 3 September 2017 (CEST)

GameIDs Link

The links we currently provide for GameIDs are just to our internal redirect pages, and thus just loop back to the page one is currently on. Should we revise them to link out to GameTDB or someplace else that provides region specific info on titles? Kolano (talk) 03:10, 20 November 2016 (CET)

I like the idea. Redirecting to GameTDB seems doable as well since it's just a matter of passing the Game ID (e.g. http://www.gametdb.com/Wii/<gameID>)... - mbc07 (talk) 04:20, 20 November 2016 (CET)
In the meantime it might be more useful to at least make all the GameID links in the infobox not redirect. I filled in a lot of the pages for weird IDs with some information when I was going through awhile ago (Target/Best Buy special editions, regions of release, game languages etc), and currently there's no way for someone to even know that exists without going out of their way to the ID page with a redirect=no. Those notes were mostly for future editors scratching their heads at the IDs (like I did), but it could give them additional marginal benefits. - Xerxes (talk) 11:22, 30 May 2017 (CEST)


This template is spewing Category:Pages with template loops on all most pages those have parentheses in their page names, this happens recently after new Wiki update. There's got to be something up with codes behind the 'See also' section in this template. Also, BuildBot responsible for Template:CurrentGitRevision seems to be dead. Lucario (talk) 10:48, 20 July 2017 (CEST)

Not all, apparently, WiiWare titles and some others were excluded. For non-WiiWare title, take this for example, Genesis version of Dai Makaimura (TurboGrafx-16) will take you to Ghouls'n Ghosts (Genesis), notice that latter one magically doesn't have template loop category. Lucario (talk) 11:24, 20 July 2017 (CEST)
The Genesis version there isn't linking back to the TurboGrafx-16 one, so that's why it's not adding the category (weird it goes one way and not the other). According to Template:Exist's documentation (which is used for the alternate console links), that template actually transcludes the other page in order to see if that page exists or not. So I think it's including wikitext from the other game page with its own infobox, which is being detected as a recursive loop (infobox call inside infobox call) and triggering the warning. You could try replacing them all with #ifexist instead to see if that fixes it, but there's a cap on those and it might max out, plus the exist template says there's a bug with Wanted pages when using it. - Xerxes (talk) 12:19, 20 July 2017 (CEST)
Oh, good catch, I've mistaken "Exist" as other #if's in the ParserFunctions extension. Also, thanks for updating the codes so it doesn't spew that category anymore. Lucario (talk) 03:34, 22 July 2017 (CEST)

Swapping to #ifexist did remove all the warnings caused by infobox, but it also breaks wanted pages. There's a bit of a pro/con situation here and it's hard to choose which is better. {{exist}} is a lot slower than #ifexist [1] and throws those MediaWiki warnings, but wanted pages works ok, and the MediaWiki warning category can be marked hidden. #ifexist is faster, keeps the warning working as intended without cluttering the category unnecessarily, but breaks wanted pages. - Xerxes (talk) 03:45, 22 July 2017 (CEST)

If nothing else works, we could always be more traditional and replace that code into actual parameter, then list alternative system version of the same game in each infobox. It'll even add non-existent page to the Wanted list if we so choose too. This seems manageable, there aren't many games to update and we have almost completed game list if not already. Lucario (talk) 04:13, 22 July 2017 (CEST)
I don't think that's such a bad idea honestly. As far as your implementation in the sandbox it's very clean and works fine in the expander. I even like the name "altsys", though "altsystem" may be clearer to editors. (As a personal request, please don't exceed 9 characters with new parameter names, it would mess up the spacing...) If the decision is made to switch because of the bugs then it might be good to add something like Category:Games with alternate console versions into the live template so there's a list of ones to change. But, there should definitely be some input from User:Kolano, User:mbc07 beforehand. - Xerxes (talk) 07:22, 22 July 2017 (CEST)
I'd like to hear opinions from User:Kolano and User:mbc07 as well. Lucario (talk) 00:13, 18 January 2018 (CET)

Is this still a thing?

Does some larger/smaller image still need a tag to resize correctly? Or is it a made up or only exists in old days? Lucario (talk) 10:00, 16 January 2018 (CET)

I was once reading historical edits and I think I found the conversation about this, it's been suggested since 2011 or 2012 ish. I can't remember exactly where I saw the conversation though. But it's very likely that in all the updates to MediaWiki since then it's been fixed. - Xerxes (talk) 15:46, 16 January 2018 (CET)
Found it: [2] - Xerxes (talk) 17:00, 16 January 2018 (CET)
I've previewed the image used to showcase the resize problem. It's really a thing! But what's interesting is I've tried copy/paste to here initially through my iOS and it went away. I've come back to that old revision and paste there then preview it. There are same images in different size. Identical text in edit source. Tried pasted surrounding the text, middle one still couldn't resize. I've tried on PC and copy/paste then the problem is still there. I've typed text manually then the problem went away. What the hell? Well, Hex editor revealed there's 00 after 300px's 33 30 30 70 78. It's never been a problem with Wiki.
I remembered the problem occurred with GBVP41 that DPL at Batman Vengeance failed to pick it up. Apparently yes, the strange character which has 00 in hex editor was what throwing it off. update: Couldn't confirm but that might be it. Lucario (talk) 20:10, 16 January 2018 (CET)
What was the fix here? It does appear that the DPL on the "Oddities" listing and on the Batman Vengeance is now working. Kolano (talk) 23:35, 16 January 2018 (CET)
I'm not sure any more if there was a strange character appending with GAMEID or not and that might be what causing it to be 7 characters while DPL was asking for only 6 characters. I can't preview with older article names, but hey, renaming seems to be a fix. I'll try random GameID with strange character appended against Dummy to find out! Strange character is right between arrows below if you'd like to experiment with it on something else.
Lucario (talk) 01:32, 17 January 2018 (CET)
It doesn't seem there's a way to reproduce the problem anymore, I've tried. It may be limitation of URL address. Unless, if you want to research more about it you could try revert the moves I've made and hopefully the problem will return. It's worth a try. Lucario (talk) 08:35, 18 January 2018 (CET)