User:Amanda Smalls/common.js

mw.loader.load('//en.wikipedia.org/w/index.php?title=User%3ADr+pda%2Fprosesize.js&action=raw&ctype=text/javascript'); // User:Dr pda/prosesize.js[ 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

/* User:Equazcion/OneClickArchiver.js */ importScript( 'User:Equazcion/OneClickArchiver.js' );// Backlink: User:Equazcion/OneClickArchiver.js

/* * Script:	PreviewUserboxes.js * Author:	en:User:MusikAnimal * * Notes:	This script only shows userboxes that are less than 2500 bytes in size *			This is because some users frustratingly put userboxes categories on their user page (many times unintentional) * */ if(wgCategories.indexOf("Userboxes") > -1 || wgPageName === "Category:Userboxes") { // showUserboxes = function { var boxes = $("#mw-pages").find(".mw-content-ltr").find("a"); $.each(boxes,function(i,box){			$.get(wgScriptPath+"/api.php?format=json&action=parse&prop=text&page="+box.text,function(data){ // if(box.text === "Template:User old") debugger; if(data.parse) { var $userbox = $(data.parse.text["*"]).eq(0); if($userbox.html.length < 2500 && $userbox.hasClass("wikipediauserbox")) { $html = " " + $(data.parse.text["*"]).eq(0).html + " " + " ";						$(box).parent.html($html); }				}			});		});	// } }