User:V111P/common.js

if ( $.inArray( mw.config.get( 'wgAction' ), ['edit', 'submit'] ) !== -1 ) { importScript('User:V111P/js/smartLinkingLoader.js'); // User:V111P/js/smartLinkingLoader.js }

if (mw.config.get('wgCanonicalSpecialPageName') == 'Whatlinkshere') importScript('User:V111P/js/whatLinksHereLinkFilter.js'); // User:V111P/js/whatLinksHereLinkFilter.js