User:Tyilo/common.js

document.title = document.title.replace(/The RuneScape Wiki.*/, 'RSW');

importScript('User:Stewbasic/quickpreview.js');

var navbar = [];

navbar.push( {	article: 'MediaWiki:Common.js',	title: 'common.js' });

navbar.push( {	article: 'Special:MyPage/skin.js',	title: 'skin.js',	action: 'edit' });

navbar.push( {	article: 'Special:MyPage/skin.css',	title: 'skin.css',	action: 'edit' });

var opposite_theme = skin === 'monobook'? 'oasis': 'monobook';

navbar.push( {	url: ((location.search === '' || location.search === '?')? '?': location.search + '&') + 'useskin=' + opposite_theme,	title: opposite_theme });

importScript('User:Tyilo/navbar.js'); importScript('User:Tyilo/tt.js'); importScript('User:Tyilo/noDashSignature.js');

importScript('User:Tyilo/peng_test.js');

$('.WikiaSearch').css('cssText', 'top: 0 !important');

//Bring back site notice from monobook: $(' ').attr('class', 'WikiaArticle modalContent').css('min-height', '0').insertAfter('.shadow-mask').load('http://runescape.wikia.com/wiki/MediaWiki:Community-corner/message?action=render');