MediaWiki:Monobook.js
From Wikinews, the free news source you can write!
Note: After saving, you may have to bypass your browser's cache to see the changes. Mozilla / Firefox / Safari: hold down Shift while clicking Reload, or press Ctrl-Shift-R (Cmd-Shift-R on Apple Mac); IE: hold Ctrl while clicking Refresh, or press Ctrl-F5; Konqueror: simply click the Reload button, or press F5; Opera users may need to completely clear their cache in Tools→Preferences. — More skins
/* <source lang="javascript"> */ //'''A fair portion of this is now at [[mediawiki:common.js]]''' /* tooltips and access keys */ // Moved into mediawiki ns. for example: [[MediaWiki:Tooltip-ca-move]]/[[mediawiki:accesskey-ca-move]] // !!'''Alternate stylesheets'''!! Note, Some are on wikipedia/meta/other lang wikinews. Only user whos //userspace its in and admins can edit stylesheets. Ask [[user:Bawolff]] for info. see also [[wikinews:skins]] addOnloadHook(function () { var altStyles = { 'Datrio': wgServer + wgScriptPath + '/index.php?title=Wikinews:Skins/Datrio.css&action=raw&ctype=text/css&smaxage=2678400', 'stw': wgServer + wgScriptPath + '/index.php?title=User:Stw/monobook.css&action=raw&ctype=text/css&smaxage=2678400', 'Milky': '//en.wikipedia.org/w/index.php?title=User:%C6var_Arnfj%F6r%F0_Bjarmason/monobook.css&action=raw&ctype=text/css&smaxage=2678400', 'Ultrawalffle': wgServer+wgScriptPath + '/index.php?title=Wikinews:Skins/Ultrawalffle.css&action=raw&ctype=text/css&smaxage=2678400', 'Clean and Blue': wgServer+ wgScriptPath + '/index.php?title=Wikinews:Skins/Clean_and_Blue.css&action=raw&ctype=text/css&smaxage=2678400', 'Datrio+MrM': wgServer+ wgScriptPath + '/index.php?title=User:Bawolff/Sandbox/Datrio%2BMrM.css&action=raw&ctype=text/css&smaxage=2678400', 'Newspaper background': wgServer+ wgScriptPath + '/index.php?title=Wikinews:Skins/newspaper-background.css&action=raw&ctype=text/css&smaxage=2678400', 'Messedrocker': wgServer+ wgScriptPath + '/index.php?title=Wikinews:Skins/Messedrocker.css&action=raw&ctype=text/css&smaxage=2678400' }; var link; for (var i in altStyles) { if (altStyles.hasOwnProperty(i)) { link = document.createElement('link'); link.type = 'text/css'; link.href = altStyles[i]; link.media = 'screen,projection'; link.rel = "alternate stylesheet"; link.title = i; document.getElementsByTagName('head')[0].appendChild(link); } } }); /* </source> */
