User:Sonia/common.js

importScript('User:Shubinator/DYKcheck.js'); //DYKcheck tool importScript('User:Rami_R/rfppClerk.js'); //...clerks RfPP, naturally importScript('User:Mr.Z-man/closeAFD.js'); //does what it says on the tin. importScript("User:Dcoetzee/Followed_users.js"); //testing this importScript('User:Dr pda/persondata.js'); // Persondata.

importScript('User:Cameltrader/Advisor.js'); //useful formatting fixer importScript("User:PleaseStand/userinfo.js"); //tells you basic stats about a user upon visiting their user/talk page importScript('User:Zocky/PicturePopupsVector.js'); //makes viewing images in WP articles so much better

importScript('User:Js/ajaxPreview.js'); //can't live without this one. ajaxPreviewPos = 'bottom'; importScript('User:Timotheus Canens/afchelper4.js'); //AfC reviewer's must-have //link to my dashboard User:Sonia/dashboard next to logout link function addDash { loLogoutNode = document.getElementById("pt-logout"); loDashNode = mw.util.addPortletLink( "p-personal"      , mw.config.get('wgServer') + mw.config.get('wgScriptPath') + "/index.php?title=User:" + wgUserName + "/dashboard"        , "my dashboard"        , "pt-admindash"        , "Link to dashboard"        , "d"        , loLogoutNode ); } addOnloadHook(addDash); //Title truncation script, feel free to use (function{	if(wgAction == "view" && wgNamespaceNumber >= 0) {		var nsPrefix, shortcut;		switch(wgNamespaceNumber) {			case 0: nsPrefix = ""; break; // (Main)			case 4: nsPrefix = "WP:"; break; // Wikipedia			case 5: nsPrefix = "WT:"; break; // Wikipedia talk			case 8: nsPrefix = "MW:"; break; // MediaWiki			case 10: nsPrefix = "T:"; break; // Template			case 14: nsPrefix = "Cat:"; break; // Category			default: nsPrefix = wgFormattedNamespaces[wgNamespaceNumber] + ":";		}		shortcut = nsPrefix + wgTitle;		window.document.title =shortcut + "-"+ wgContentLanguage + "Wikipedia" ;	} });