User:Nikolaih/common.js

mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Hedonil/XTools/XTools.js&action=raw&ctype=text/javascript'); importScript('User:Lupin/recent2.js'); mw.loader.load( '//de.wikipedia.org/w/index.php?title=Benutzer:TMg/autoFormatter.js&action=raw&ctype=text/javascript' ); $(function {	var elems = document.getElementsByClassName('editsection');	for (i = 0; i < elems.length; i++) {		var span = document.createElement('span');		var link = document.createElement('a');		link.href = '#top';		link.appendChild(document.createTextNode('back to top'));		span.appendChild(document.createTextNode('['));		span.appendChild(link);		span.appendChild(document.createTextNode('] '));		elems[i].insertBefore(span, elems[i].firstChild);	} }); importStylesheet('User:Rezonansowy/FloatHead.css'); mw.loader.load('//en.wikipedia.org/w/index.php?title=User:AWeenieMan/furme.js&action=raw&ctype=text/javascript'); $(document).ready(function {		if(mw.config.get("wgCanonicalNamespace") === "")		{			var subjectName;			var pageName = mw.config.get("wgPageName");			if(pageName.charAt(pageName.length - 1) == ")") {				subjectName = pageName.substring(0, pageName.lastIndexOf("(") - 1);			}			else			{				subjectName = pageName;			}			var searchNode = document.createElement("a");			searchNode.href = "http://www.google.com/search?q=" + encodeURIComponent(subjectName.replace(/_/g, " "));			searchNode.target = "_blank";			searchNode.innerHTML = " Search Google ";			document.getElementById("firstHeading").appendChild(searchNode);		} }); importScript("User:Ocaasi/WikiLoveinstallscript.js"); mw.loader.load('//en.wikipedia.org/w/index.php?title=User:AWeenieMan/furme.js&action=raw&ctype=text/javascript'); importScript('User:Lourdes/PageCuration.js');

//==Helpful Pages Link== $.when( mw.loader.using( ['mediawiki.util'] ), $.ready ).done( function { mw.util.addPortletLink( 'p-personal', mw.util.getUrl('User:Nikolaiho/Helpful Pages'), 'Helpful Pages', // 'pt-helpfulpages', 'View Helpful Pages/Nikolai', null, '#pt-preferences' ); });

importScript("User:Writ Keeper/Scripts/teahouseUtility.js"); // Gives one-click option to add Teahouse invitation or talkback to a user importScript("User:Writ Keeper/Scripts/teahouseTalkback.js"); // Adds Talkback reminder when you save an edit at the Teahouse importScript("User:Writ Keeper/Scripts/teahouseTalkbackLink.js"); // Adds a talkback link to signatures on the Teahouse importScript("User:Ocaasi/WikiLoveinstallscript.js");// Adds Teahouse Badges to WikiLove importScript("User:Enterprisey/delsort.js"); importScript('Wikipedia:Igloo/gloo.js'); // Igloo importScript( 'User:Epicgenius/stubtag.js' ); // Backlink: User:Epicgenius/stubtag.js importScript('User:Uziel302/typo.js'); importScript('User:BrandonXLF/TodoList.js'); // User:BrandonXLF/TodoList.js