User talk:Mbc07

Have some question or doubt? Just click in "Add topic" in the bar above and write your question/doubt, I'll answer as fast as I can...

Image Template -Thumbnail Size
How does one control image size with the Image Template? The documentation doesn't say. And can the video gallery and youtube templates do it as well? - MaJoR (talk) 07:14, 15 November 2012 (CET)
 * It's hardcoded in the template... You'll need to change it directly in the template source code (here is the source of Image template). The video gallery just embed youtube template, so, to change video thumbnail size you only need to edit the source code of YouTube template, the changes will be automatically reflected in the Video Gallery. If necessary, I could add an option to override the hardcoded value through the 4th parameter, from both Image and YouTube template, but the best would be having the standard size (that haven't been defined yet) hardcoded directly in the templates, avoiding unnecessary parameters...


 * Also, to prevent breaking up the truncate caption function, you'll need to change 2 tags in the source (both youtube and image): the first parameter (currently at 300px) need to be changed to the desired size (for example, 200px). The second parameter (currently set at 275px) need to be changed to the desired size minus 25px (from the 200px example, this should be 175px -- 200px minus 25px)

Well, if we are going to have a smaller thumbnail size for screenshots, an option to change the size of the screenshots on the fly would allow us to revert back to the standard image size for other things, like bug images. But I guess it isn't really necessary; the point of the template is to make big changes across the board easily, and we don't need that for bug images. We could just set the screenshot thumbnail size in the template straight up. Thanks - MaJoR (talk) 02:31, 16 November 2012 (CET)

I'd think an additional "type" parameter might work best. We'd default to screenshot size, but then allow alternate sizes for other types of images, and would be able to set the size across them easily (which I believe is the whole point of the image template).Kolano (talk) 05:09, 16 November 2012 (CET)

Parser functions limit
I increased the limit to 500. Better than removing potentially useful features from our templates, imho. delroth (talk) 22:49, 2 February 2013 (CET)


 * We'd been debating removing those for a while now. This really just provided an extra reason to do so.Kolano (talk) 23:40, 2 February 2013 (CET)

Video Gallery
Something seems to have recently broken the various video related templates, which now seem to show a blank rather than a preview image. Mainly noticed with YouTube video, not clear if it's related to your recent Video Gallery updates or not. Kolano (talk) 22:13, 30 June 2013 (CEST)

Any page using YouTube videos seems to have the issue for me. For instance:
 * Puss in Boots
 * Super Smash Bros: Brawl

Here's a screenshot...



Yeah, it's odd. Apparently it is browser specific though, as things seem to show up correctly in Chrome. Maybe you're right that the timing of the HTTPS transition may be more relevant. Actually it does seem odd that I'm not seeing warnings related to mixed content, given that we now seem to mix HTTP and HTTPS requests. Not sure about the other video services, but YouTube will provide HTTPS links, so we should probably swap to using those (regardless if that fixes the thumbnails issue). Kolano (talk) 22:07, 1 July 2013 (CEST)

Seems like Delroth was able to apply a fix. Kolano (talk) 11:32, 2 July 2013 (CEST)