User:सुबोध कुलकर्णी/global.js

From Meta, a Wikimedia project coordination wiki

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
mw.loader.load('//he.wikipedia.org/w/load.php?modules=ext.gadget.autocomplete'); //Autocomplete
mediaWiki.loader.load( '//en.wikipedia.org/w/index.php?title=User:Evad37/ToDoLister.js&action=raw&ctype=text/javascript' ); //todo
mw.loader.load('https://meta.wikimedia.org/w/index.php?action=raw&ctype=text/javascript&title=MediaWiki:MoreMenu.import.js'); //Adds more menus such as tools and analytical options
mw.loader.load('//en.wikipedia.org/w/index.php?title='
	+ 'User:V111P/js/wikiTranslTools.js&action=raw&ctype=text/javascript'); //translation tool
/* 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]]

*/
// install [[Wikipedia:User:PleaseStand/Comment highlighter]] tool
mw.loader.load( '//en.wikipedia.org/w/index.php?title=User:PleaseStand/highlight-comments.js&action=raw&ctype=text/javascript' );

mw.loader.load( 'https://commons.wikimedia.org/w/index.php?title=User:Rillke/bigChunkedUpload.js&action=raw&ctype=text/javascript' );

mediaWiki.loader.load( '//ru.wikipedia.org/w/index.php?title=MediaWiki:WEF_AllEditors.js&action=raw&ctype=text/javascript' );

mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Indic-TechCom/Script/BookReader.js&action=raw&ctype=text/javascript');