User:Very trivial/common.js

importScript('User:Smith609/toolbox.js'); // Add WP:Reflinks launcher in the toolbox on left $(function { mw.util.addPortletLink( "p-tb",    // toolbox portlet "http://toolserver.org/~dispenser/cgi-bin/webreflinks.py/" + mw.config.get('wgPageName') + "?client=script&citeweb=on&overwrite=&limit=20&lang=" + mw.config.get('wgContentLanguage'), "Reflinks" // link label )}); if ( $.inArray( mw.config.get( 'wgAction' ), ['edit', 'submit'] ) > -1 ) { importScript('User:V111P/js/smartLinkingLoader.js'); // User:V111P/js/smartLinkingLoader.js } mediaWiki.loader.load( '//ru.wikipedia.org/w/index.php?title=MediaWiki:WEF_WorkEditor.js&action=raw&ctype=text/javascript' ); mediaWiki.loader.load( '//ru.wikipedia.org/w/index.php?title=MediaWiki:WEF_ExternalLinks.js&action=raw&ctype=text/javascript' );