User:Shanmugamp7/vector.js

mw.loader.load('//www.wikidata.org/w/index.php?title=User:Yair_rand/checksitelinks.js&action=raw&ctype=text/javascript'); importScript('User:TheDJ/qui.js'); //wikidata ( function ( mw, $ ) {       var wiki = 'enwiki';        var namespace = mw.config.get( 'wgCanonicalNamespace' );        if( namespace === '' ) {                var page = mw.config.get( 'wgTitle' );        } else {                var page = namespace + ':' + mw.config.get( 'wgTitle' );        }        $.ajax( { url: '//www.wikidata.org/w/api.php', data: { 'format': 'json', 'action': 'wbgetitems', 'sites': wiki, 'titles': page, 'language': mw.config.get( 'wgPageContentLanguage' ) },               dataType: 'jsonp', success: function( data ) { if( data.success ) { for( var i in data.items ) { if( i != -1 ) { mw.util.addPortletLink( 'p-tb', '//www.wikidata.org/wiki/' + data.items[i].title, 'Wikidata' ); }                               }                               }                }        } ); } ( mediaWiki, jQuery ) );

$.getScript("//en.wikipedia.org/w/index.php?title=User:YuviPanda/AssessmentBar/WPIndia.js&action=raw&ctype=text/javascript").then(function {   mw.loader.load('//en.wikipedia.org/w/index.php?title=User:YuviPanda/AssessmentBar.js&action=raw&ctype=text/javascript'); });