MediaWiki talk:Centralnotice-template-wm2015scholarcfp

Latest comment: 9 years ago by KTC in topic font size

Obsolete globals edit

@KTC: wgUserName, wgServer, wgScriptPath and other global variables were deprecated in 2011 (see the warnings in the console in any wiki where this is executed), please use mw.config.get to access the values need by the script. Helder 12:38, 19 January 2015 (UTC)Reply

Done. -- KTC (talk) 14:23, 19 January 2015 (UTC)Reply
The script is also using sajax_init_object. Helder 17:15, 19 January 2015 (UTC)Reply
I know... -- KTC (talk) 20:14, 19 January 2015 (UTC)Reply

Esperanto update edit

Someone please update the Esperanto version, it was improved. Thanks. --KuboF (talk)

I have published the translation. -- KTC (talk) 11:36, 20 January 2015 (UTC)Reply
Thanks! --KuboF (talk) 12:41, 20 January 2015 (UTC)Reply

font size edit

Hey KTC, I changed it because it was wrapping onto 3 lines and the 3rd line overflowed the end of the box. (the box doesn't expand to fit the wrapped text) I'm not clear from your edit summary if you were seeing the same thing? (also wrapped onto 3 lines for you?) --Jeremyb (talk) 23:48, 15 February 2015 (UTC)Reply

Hey Jeremyb, I understand why you changed it. Unfortunately, having it as an exact percentage of the viewpoint width meant the text ended up way too big on an even moderately sized screen, and overflowing by quite a lot on a large screen. That's why I tried the vmin approach which take into account the viewpoint height as well. I'll have a look again in a bit, but today's the last day the banner's up anyway so shouldn't be an issue too much longer either way. -- KTC (talk) 09:17, 16 February 2015 (UTC)Reply
I've just ended up making the box bigger instead. The logo & text is now not quite vertically centered, but I'll live with that. -- KTC (talk) 13:31, 16 February 2015 (UTC)Reply
Return to "Centralnotice-template-wm2015scholarcfp" page.