StrategyWiki:Staff lounge/2017/February

Keyboard hotkey maps
There are two types of visual keyboard hotkey maps. Type 1, Type 2. Which type would you like to see more of? Note that Type 1 is hard to print on your printer! Can you think of a way? Posfan12 (talk) 23:40, 4 February 2017 (UTC)


 * If printing is necessary, it can be switched to landscape. The display is more of an issue for screen display, which is limited to ~900px, and requires some sweet spot to have the text visible. Maybe the keys right of the Enter key could be brought to a new row to save a bit on width, and also some of those keys may be a little large even for landscape (maybe reduce size to 80%?)
 * Also, there's a mediawiki bug that makes printing less supported than it should be. The documentation says it supports Mediawiki:print.css, yet it's not included in sent style sheets. --Sigma 7 (talk) 17:23, 5 February 2017 (UTC)
 * I prefer the first option, because having a modifiable template is much easier to deal with than a picture. Maybe moving the pieces of the keyboard around would be cool, but it looses the look of the keyboard. I guess the main benefit of the second one is that it can be scaled. Could we do something through css/js that would let us scale the content down for display, and then expand with a button/hovering over keys? -- Prod (talk) 21:29, 6 February 2017 (UTC)
 * FYI, you can edit the SVG image in Notepad. It is similar to HTML (though not as easy as MediaWiki). Once you familiarize yourself with the code, it is not hard to adapt to other games. Everything is grouped together to make copying/pasting easier. Just make sure you DO NOT use Inkscape, because that will make the code unreadable. Posfan12 (talk) 10:02, 10 February 2017 (UTC)
 * As for scaling the Type 1, you can use CSS transforms. However, they do not work in old browsers. Posfan12 (talk) 10:17, 10 February 2017 (UTC)
 * You would need to use the CSS in the site's stylesheet, however. I don't think you can do it in inline MediaWiki code. Not 100% sure. Posfan12 (talk) 10:21, 10 February 2017 (UTC)
 * I tried scaling the template. There are some issues I was unable to sort out. Posfan12 (talk) 10:30, 10 February 2017 (UTC)

Facebook, Google, Twitter "acceptable" advertisements
You know, I love keyboard shortcuts and I use the mouse as little as possible. ''The new Windows is quite annoying already: many two-buttons shortcuts became "two buttons plus one", and this slows me down a lot. In particular, "Alt+Tab" became "Alt+Tab, then Esc". WTF??? Yesterday I did it wrong in a way that it reset all Firefox settings, including Adblock. The new Adblock is less efficient than the previous, because of the "Acceptable Advertisements" policy.''

Now, a series of "colorful squares" appear on the right side of Strategywiki pages (FB, G+, etc; are they called widgets?). Before the time they were there, I did my edit, then press Tab twice or three times, and I could see the preview or save the edit. With those annoying "acceptable advertisements" I have to press tab seven more times! That's annoying. Could it be possible to move them down in the page script, so that they get selected after the preview and save buttons, and not before? Thanks. --Abacos (talk) 22:38, 25 February 2017 (UTC)


 * I checked the page script (using Ctrl+U and Ctrl+F). Strange enough, the text area ends on line 236, "Save, preview and differences" are on lines 246-249, whereas the lines about Facebook etc. are already below them, on line 362. I wonder why pressing Tab I pass from the edit area, to the summary line, then through those 7 annoying thingies, and only then I get to the save/preview buttons. --Abacos (talk) 22:53, 25 February 2017 (UTC)
 * I've updated the tab index for the addthis buttons. You may need to clear your cache.  Please try now. -- Prod (talk) 20:15, 26 February 2017 (UTC)

Thank you, Prod. It works great now. --Abacos (talk) 15:08, 27 February 2017 (UTC)