User:Moral edits/common.js

mw.loader.load( "https://meta.wikimedia.org/w/index.php?title=User:Zhaofeng_Li/Reflinks.js&action=raw&ctype=text/javascript" ); importScript('User:Lourdes/PageCuration.js'); // Linkback: User:Lourdes/PageCuration.js // Add WP:Reflinks launcher in the toolbox on left $.when( mw.loader.using( ['mediawiki.util'] ), $.ready ).then(function { mw.util.addPortletLink( "p-tb",    // toolbox portlet "https://dispenser.info.tm/~dispenser/cgi-bin/reflinks.py?lang=" + mw.config.get('wgContentLanguage') + "&page=" + mw.config.get('wgPageName') + "&autoclick=wpPreview", // updated tool URL as of 9 November 2017 "Reflinks" // link label )});