User:Mattbr/monobook.js

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 TW.", deletionSummaryAd              :       " Using TW.", protectionSummaryAd            :       " Using 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'); });