User:Ping08/reflinks.js

// Add WP:Reflinks launcher in the toolbox on left if (mw.config.get('wgNamespaceNumber') === 0 ) { $.when( mw.loader.using( [ 'mediawiki.util' ] ), $.ready ).then(function { mw.util.addPortletLink( "p-tb",    // toolbox portlet "https://dispenser.homenet.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 )}); }