User:SeraphWiki/common.js

//Side bar mw.loader.using( 'mediawiki.util' ).done( function {	mw.util.addPortletLink('p-navigation', mw.util.getUrl('Wikipedia:Maintenance'), "Maintenance");	mw.util.addPortletLink('p-navigation',  mw.util.getUrl('Wikipedia:Notability_(music)'), "NMUSIC");	mw.util.addPortletLink('p-navigation',  mw.util.getUrl('Wikipedia:Notability (books)'), "NBOOKS");	mw.util.addPortletLink('p-navigation',  mw.util.getUrl('Wikipedia:Notability (academics)'), "NPROF");	mw.util.addPortletLink('p-navigation',  mw.util.getUrl('Wikipedia:Notability (people)'), "NBIO");	mw.util.addPortletLink('p-navigation',  mw.util.getUrl('Wikipedia:Notability (organizations and companies)'), "NORG");	mw.util.addPortletLink('p-navigation',  mw.util.getUrl('Wikipedia:Notability (films)'), "NFILM");	mw.util.addPortletLink('p-navigation',  mw.util.getUrl('Wikipedia:Notability (web)'), "NWEB");	mw.util.addPortletLink('p-navigation',  mw.util.getUrl('Wikipedia:Notability (events)'), "NEVENT"); mw.util.addPortletLink('p-navigation', mw.util.getUrl('Wikipedia:List_of_infoboxes'), "Infoboxes"); mw.util.addPortletLink('p-navigation', mw.util.getUrl('Wikipedia:AutoWikiBrowser/Script'), "AWB"); mw.util.addPortletLink('p-navigation', mw.util.getUrl('Template:AFC_statistics'), "AFC Stats"); mw.util.addPortletLink('p-navigation', mw.util.getUrl('Special:RecentChangesLinked'), "RC"); mw.util.addPortletLink('p-navigation', mw.util.getUrl('User:SeraphWiki/common.js'), "CommonJS"); mw.util.addPortletLink('p-navigation', 'http://wikipedia.ramselehof.de/wikiblame', 'cvp'); mw.util.addPortletLink('p-navigation',	mw.util.getUrl('Special:NewPagesFeed'), "New Pages Feed"); mw.util.addPortletLink('p-navigation', 'https://tools.wmflabs.org/nppbrowser', 'NPPbrowser'); mw.util.addPortletLink('p-navigation', mw.util.getUrl('Wikipedia:User scripts/List'), "UserScripts"); } );

//toolbar $.when( mw.loader.using( ['mediawiki.util'] ), $.ready ).done( function { mw.util.addPortletLink( 'p-personal', mw.util.getUrl('Wikipedia:List of current and old AfDs'), 'AfDs', 'pt-specialnew', 'View the AfD listings of the past 7 days and more...', null, '#pt-preferences' ); mw.util.addPortletLink( 'p-personal', mw.util.getUrl('Special:PrefixIndex/User:SeraphWiki'), 'Subpages', 'pt-specialnew', 'Userspace', null, '#pt-preferences' ); });

/* User:Lourdes/TFAhistorylink.js'); // Linkback: User:Lourdes/TFAhistorylink.js */ /*

$.when( mw.loader.using( ['mediawiki.util'] ), $.ready ).done( function { mw.util.addPortletLink( 'p-personal', mw.util.getUrl('Special:RecentChangesLinked/Wikipedia:TFA Title'), 'TFA History', 'pt-recentchanges', 'View changes to the Featured Article on the Main Page', null, '#pt-preferences' ); });



/* Show contributions */ /*User:Mvolz/displayContributions.js */

$(document).ready( function { 	mw.loader.using( 'mediawiki.user', function { ( new mw.Api ).get( {	       action: 'query',	        meta: 'userinfo',	        uiprop: 'editcount'	    } ).done( function( result ) {	    	document.getElementById( 'pt-mycontris' ).append( ' (' + result.query.userinfo.editcount + ')' );	    } ); } ); } );

importScript('User:Joshua Scott/Scripts/pendingchanges.js'); // Linkback: User:Joshua Scott/Scripts/pendingchanges.js importScript('User:Shubinator/DYKcheck.js'); //DYKcheck tool importScript('User:Primefac/revdel.js'); // User:Primefac/revdel importScript('User:V111P/js/smartLinkingLoader.js'); // User:V111P/js/smartLinkingLoader.js importScript('User:Meteor sandwich yum/Tidy citations.js'); //User:Meteor sandwich yum/Tidy citations.js importScript('User:Evad37/rater.js'); // User:Evad37/rater importScript( 'User:Enterprisey/delsort.js' ); // Backlink: User:Enterprisey/delsort.js importScript( 'User:Joeytje50/JWB.js/load.js' ); // Backlink: User:Joeytje50/JWB.js/load.js //importScript('Wikipedia:AutoEd/wikichecker.js'); importScript('User:Ohconfucius/script/EngvarB.js'); // User:Ohconfucius/script/EngvarB.js //importScript('User:Ohconfucius/script/formatgeneral.js'); // User:Ohconfucius/script/formatgeneral.js //importScript('User:Ohconfucius/script/Sources.js'); // User:Ohconfucius/script/Sources.js importScript('User:GregU/dashes.js'); importScript('User:Ohconfucius/script/MOSNUM dates.js'); // User:Ohconfucius/script/MOSNUM dates.js importScript('User:Evad37/XFDcloser.js'); // User:Evad37/XFDcloser //importScript("User:PleaseStand/userinfo.js"); // User:PleaseStand/User info importScript('User:Lourdes/PageCuration.js'); // Linkback: User:Lourdes/PageCuration.js importScript('User:Ais523/stubtagtab2.js'); // Linkback: User:Ais523/stubtagtab2.js] //importScript('User:Writ Keeper/Scripts/deletionFinder.js'); // Linkback: [[User:Writ Keeper/Scripts/deletionFinder.js //importScript("User:PleaseStand/hide-vector-sidebar.js"); //importScript('User:Evad37/duplinks-alt.js'); // User:Evad37/duplinks-alt //importScript('User:Gary/nominations viewer.js'); // Nominations Viewer //importScript( 'User:Anne drew Andrew and Drew/PageDetails.js' ); // Backlink: User:Anne drew Andrew and Drew/PageDetails.js //importScript('User:Cameltrader/Advisor.js');