Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
// Set up toolbox basics
var tid="t-qrcode",
 ttxt="Create QR code",
 rhref=location.href
 rhref=rhref.replace("wikipedia.org/wiki/", "qrwp.org/"); // Keep language. Change domain name. Correct path
 thref='http://chart.apis.google.com/chart?cht=qr&chs=400x400&chld=q&chl='+rhref; // Google Chart API
 
// Create link
var tul=document.getElementById("t-whatlinkshere"),ta=document.createElement("a"),tli=document.createElement("li");
ta.appendChild(document.createTextNode(ttxt));
ta.href=thref;
tli.appendChild(ta);
tli.id=tid;
tul.parentNode.appendChild(tli);


// [[User:Lupin/popups.js]] - please include this line
// document.write('<script type="text/javascript" src="' 
// + 'http://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js' 
// + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');

// Script from [[User:Quarl/monobook.js]]
// remove 35 chars to activate XX  importScript('User:Quarl/monobook.js'); //[[User:Quarl/monobook.js]]

//Cat-A-Lot

window.catALotPrefs = {editpages:  true};
mw.loader.load('//commons.wikimedia.org/w/index.php?action=raw&ctype=text/javascript&title=MediaWiki:Gadget-Cat-a-lot.js');
mw.loader.load('//commons.wikimedia.org/w/index.php?action=raw&ctype=text/css&title=MediaWiki:Gadget-Cat-a-lot.css', 'text/css');

// add a "Dab solver" link to the toolbar
 jQuery(document).ready(function (){
    if( mw.config.get('wgIsArticle') ){    // only add toolbox link on actual pages
        var dabsolverUrl = '//toolserver.org/~dispenser/cgi-bin/dab_solver.py?page=' + mw.config.get('wgPageName');
        mw.util.addPortletLink('p-tb', dabsolverUrl, 'Dab solver', 't-dabsolve', "Invoke Dab Solver on this page");
    }
 });


/*
Documentation available at https://www.mediawiki.org/wiki/User:Bjohas/OSMgadget
Code available at https://github.com/bjohas/OSM-Wikipedia-Monkey/blob/master/Gadget%20Wikipedia%20to%20OSM.js
*/
mw.loader.load( 'https://rawgit.com/bjohas/OSM-Wikipedia-Monkey/master/Gadget%20Wikipedia%20to%20OSM.js');