- User Since
- Feb 19 2016, 11:04 PM (187 w, 2 d)
Jul 15 2016
Jul 12 2016
Jul 3 2016
Oh, sorry, the github page seems to be incorrect, theme.css gets loaded directly (at least in our case):
It seems like the current skin (Strapping) is not using these MediaWiki styles, but it should work by modifying the screen.css and theme.css as explained here: https://github.com/OSAS/strapping-mediawiki/#themecss
Somehow the styles from https://www.whonix.org/wiki/MediaWiki:Common.css don't get loaded, which would hide the select code button and the textarea
In MediaWiki custom css and js can be added as explained here:
I split the code in 3 files and made use of the client-(no)js css class. The codeselect.js has to be loaded after jQuery because it is used do determine when the DOM is ready.
The problem is that the JS and CSS code is included in Widget:CodeSelect which duplicates and executes the code many times. The obvious solution would be to place the CSS and JS codes in external files.
Jun 2 2016
I searched a bit in GitHub and I think these are the only lines that need to be changed: