User:קיפודנחש/common.js

// temp: remove annoying message to look for interwiki at top. once the message goes away, delete. $('.vector-language-sidebar-alert').closest('.mw-sidebar-action').remove;

importScript('User:קיפודנחש/hideHotcatMarkers.js'); importScript('User:קיפודנחש/watchlistMark.js'); importScript('User:Numbermaniac/goToTop.js'); importScript('User:קיפודנחש/searchPersistence.js'); importScript('User:קיפודנחש/viewstats.js');

if (mw.config.get('wgNamespaceNumber') == 14) importScript('User:קיפודנחש/cat-a-lot.js');

if ($.inArray(mw.config.get('wgAction'), ['edit', 'submit']) + 1) { importScript('User:קיפודנחש/TemplateParamWizard.js'); importScript('User:קיפודנחש/personalEdittools.js'); importScript('User:ערן/autocomplete.js'); }

mw.loader.using('mediawiki.util', function { $(function { mw.util.addPortletLink('p-tb', mw.util.getUrl('Special:PrefixIndex/' + mw.config.get('wgPageName') + '/'), 'Subpages');

if ($('h1#firstHeading:contains(Difference between revisions)').length) { $('#contentSub').append( [ '' ].join( '|' ) ); }

$('.editsection').each(function { 		var 			edit = $(this), 			top = edit.clone, 			a = top.find('a'); 		edit.after(top); a.text('top').attr('href', '#');	}); });

$(function { 	$('#wpTextbox1')	.after($('input.mw-summary'))	.after($('.editButtons').css({margin: '8px 0'})); } );

});

importScript('User:קיפודנחש/pgnwrapper.js');

window.translatelinks_target = 'he';