User:QueerEcofeminist/global.js

//todo mediaWiki.loader.load( '//en.wikipedia.org/w/index.php?title=User:Evad37/ToDoLister.js&action=raw&ctype=text/javascript' ); //Adds more menus such as tools and analytical options mw.loader.using( ['mediawiki.user', 'mediawiki.util', 'mediawiki.api'], function { mw.loader.load('https://en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=MediaWiki:Gadget-dropdown-menus-vector.js');}); /* Show contributions */

$(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 + ')' );	    } ); } ); } ); /* This script adds a link saying "Subpages" to subpages of your user page. To use the script, add the following line to Special:MyPage/common.js: importScript('User:PrimeHunter/My_subpages.js'); // Linkback: User:PrimeHunter/My subpages.js