User:Wcam/common.js

mw.loader.load( "https://meta.wikimedia.org/w/index.php?title=User:Zhaofeng_Li/Reflinks.js&action=raw&ctype=text/javascript" ); /* User:Equazcion/ScriptInstaller.js */ importScript( 'User:Equazcion/ScriptInstaller.js' );// Backlink: User:Equazcion/ScriptInstaller.js //CropTool code begins, see https://commons.wikimedia.org/wiki/Commons:CropTool (function(mw, $){   if (mw.config.get( 'wgNamespaceNumber' ) !== 6) return;    if (mw.config.get( 'wgAction' ) !== 'view') return;    if (!mw.config.get( 'wgRevisionId' )) return;

$( function {        var title = mw.config.get('wgServer') + mw.config.get('wgArticlePath').replace( '$1', mw.config.get('wgPageName') ),            croplink = '//tools.wmflabs.org/croptool/?title=' + encodeURIComponent( title );        mw.util.addPortletLink( "p-tb", croplink, "CropTool", "t-crop", "Crop this image" );   }); })( mediaWiki, jQuery ); importScript('User:Mattflaschen/Compare link.js'); //Linkback: User:Mattflaschen/Compare link.js Added by Script installer