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.
if (navigator.product == 'Gecko' )
{
// [[w:en:User:Lupin/popups.js]]

mw.loader.load(
             'https://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js'
             + '&action=raw&ctype=text/javascript&dontcountme=s');

popupFixDabs=true;
popupFixRedirs=true;
}

//Interiot's javascript edit counter
if (document.title.indexOf('User:Interiot/Tool2/code.js') != -1) {
  mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Interiot/Tool2/code.js&action=raw&ctype=text/javascript'); }

importScript('User:AzaToth/twinkle.js');
importScript('User:AzaToth/salt.js');
TwinkleConfig = {
        userTalkPageMode                :       'tab',
        watchRevertedPages              :       [ ],
        watchWarnings                   :       false,
        markWarningsAsMinor             :       false,
        markAIVReportAsMinor            :       false,
        markSpeedyPagesAsMinor          :       false,
        markProdPagesAsMinor            :       false,
        summaryAd                       :       " Using [[WP:TWINKLE|TW]].",
        deletionSummaryAd               :       " Using [[WP:TWINKLE|TW]].",
        protectionSummaryAd             :       " Using [[WP:TWINKLE|TW]].",
        orphanBacklinksOnSpeedyDelete   :       {orphan:false}
};

// addPurge
$(function () {
    var watch; var url;
    if (!(watch = document.getElementById('ca-watch') )) return;
    if (!(url = watch.getElementsByTagName('a')[0] )) return;
    if (!(url = url.href )) return;
    mw.util.addPortletLink('p-cactions', url.replace(/([?&]action=)watch([&#]|$)/, '$1purge$2'),
                   'purge', 'ca-purge', 'Purge server cache for this page', '0');
});

$(function () {
    var unwatch; var url;
    if (!(unwatch = document.getElementById('ca-unwatch') )) return;
    if (!(url = unwatch.getElementsByTagName('a')[0] )) return;
    if (!(url = url.href )) return;
    mw.util.addPortletLink('p-cactions', url.replace(/([?&]action=)unwatch([&#]|$)/, '$1purge$2'),
                   'purge', 'ca-purge', 'Purge server cache for this page', '0');
});