MediaWiki talk:Centralnotice-template-stewnoms
Add topicObsolete globals
[edit]This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
@Glaisher: this and maybe other scripts related to banners are using deprecated globals such as wgUserName
and wgUserGroups
. See gerrit:133162 and the warnings in the console on wikis such as Portuguese Wikipedia. Helder 01:55, 15 January 2015 (UTC)
- Updated. Thanks for reporting. The same code has been in use since 2011(?). I was planning to do a rewrite this year but didn't have the time and motivation to do it. Only did minor fixes this year. Will update the vote one later. --Glaisher (talk) 05:10, 15 January 2015 (UTC)
@MarcoAurelio, Seddon: This is happening again since Special:Diff/17641551. The same also applies to MediaWiki:Centralnotice-template-stewnoms mobile. Helder 22:38, 25 January 2018 (UTC)
- @He7d3r, Seddon (WMF), and Glaisher: I'm sorry but I'm not a JS guy. If you tell me what needs to be done I can fix it though. Thanks. —MarcoAurelio (talk) —MarcoAurelio (talk) 13:14, 27 January 2018 (UTC)
- @MZMcBride and -revi: Know by chance what needs to be done here? Regards, —MarcoAurelio (talk) 12:39, 28 January 2018 (UTC)
- Uhm, I don't know, maybe Legoktm can help? — regards, Revi 15:35, 28 January 2018 (UTC)
- Replace
wgUserName
withmw.config.get( 'wgUserName' )
andwgUserGroups
withmw.config.get( 'wgUserGroups' )
Legoktm (talk) 00:44, 29 January 2018 (UTC)- @Legoktm: [1]? —MarcoAurelio (talk) 10:24, 29 January 2018 (UTC)
- Yep! Legoktm (talk) 18:29, 29 January 2018 (UTC)
- Okay. If I broke the wiki I guess we'll soon notice. —MarcoAurelio (talk) 19:01, 29 January 2018 (UTC)
- Yep! Legoktm (talk) 18:29, 29 January 2018 (UTC)
- @Legoktm: [1]? —MarcoAurelio (talk) 10:24, 29 January 2018 (UTC)
- Replace
- Uhm, I don't know, maybe Legoktm can help? — regards, Revi 15:35, 28 January 2018 (UTC)
Small screen issue
[edit]Can someone add to #stewnoms
min-height: 65px;
and replace the padding on #stewnoms #black-text with
padding: 0.75em 40px 1.6em 60px !important;
The first one should make the logo always visible, while the second one makes a space between the translation-link and the text so the text doesn’t overlap the link anymore on devices with smaller screen-width. – KPFC 💬 23:14, 15 January 2017 (UTC)
- Done[2]. --Vogone (talk) 23:21, 15 January 2017 (UTC)
- @Vogone and KPFC: Same issue on MediaWiki:Centralnotice-template-stewvote? Thanks, —MarcoAurelio (talk) 10:54, 26 January 2018 (UTC)
- @MarcoAurelio: I don’t see any problems on stewvote. Here you wrote the whole banner completely new. With the
@media …
expressions the banner is responsive. I tested it and had absolutely no problems. Regards, KPFC 💬 15:19, 28 January 2018 (UTC)
- @MarcoAurelio: I don’t see any problems on stewvote. Here you wrote the whole banner completely new. With the