User:TrekFanatic/monobook.js

importScript('User:AzaToth/twinkle.js'); importScript('User:AzaToth/User:VoA/monobook.js'); importScript('User:Ioeth/friendlywelcome.js'); importScript('User:Ioeth/friendlyshared.js'); importScript('User:Ioeth/friendlytag.js'); importScript('User:Ais523/editcount.js'); importScript('User:TheJosh/Scripts/NewPagePatrol.js'); npp_num_pages = 20; importScript('User:Lupin/popups.js');

FriendlyConfig = { summaryAd                      :       " using Friendly", topWelcomes                    :       false, watchWelcomes                  :       false, markWelcomesAsMinor            :       true, insertHeadings                 :       true, welcomeHeading                 :       "== Welcome ==", insertUsername                 :       true, insertSignature                :       true, quickWelcomeMode               :       "auto", quickWelcomeTemplate           :       "Welcome", maskTemplateInSummary          :       true, markSharedAsMinor              :       true, groupByDefault                 :       true, watchTaggedPages               :       true, markTaggedPagesAsMinor         :       true };

TwinkleConfig = { revertMaxRevisions             :       50, userTalkPageMode               :       'window', showSharedIPNotice             :       true, openTalkPage                   :       [ 'agf', 'norm', 'vand' ], openTalkPageOnAutoRevert       :       false, summaryAd                      :       " using TW", deletionSummaryAd              :       " using TW", protectionSummaryAd            :       " using TW", watchSpeedyPages               :       [ 'g3', 'g5', 'g10', 'g11', 'g12' ], watchProdPages                 :       true, openUserTalkPageOnSpeedyDelete :       [ 'g1', 'g2', 'g10', 'g11', 'g12', 'a1', 'a7', 'i3', 'i4', 'i5', 'i6', 'i7', 'u3', 't1' ], watchRevertedPages             :       [ 'agf', 'norm', 'vand', 'torev' ], markRevertedPagesAsMinor       :       [ 'agf', 'norm', 'vand', 'torev' ], deleteTalkPageOnDelete         :       false, watchWarnings                  :       true, markAIVReportAsMinor           :       true, markSpeedyPagesAsMinor         :       true, offerReasonOnNormalRevert      :       true, orphanBacklinksOnSpeedyDelete  :       {orphan:true, exclude:['g6']} };

// User:Henrik/live-edit-counter

importScript('User:Henrik/js/live-edit-counter.js');

importScript ('User:Henrik/js/afc-helper.js');

function hidevfd{ var divs = document.getElementsByTagName("div"); for(var x = 0; x < divs.length; ++x) if(divs[x].className.indexOf("vfd") != -1) divs[x].style.display = "none"; document.getElementById('footer').style.display = 'none'; }

function showvfd{ var divs = document.getElementsByTagName("div"); for(var x = 0; x < divs.length; ++x) if(divs[x].className.indexOf("vfd") != -1) divs[x].style.display = ""; document.getElementById('footer').style.display = ''; }

function addlilink(tabs, url, name){ var na = document.createElement('a'); na.href = url; na.appendChild(document.createTextNode(name)); var li = document.createElement('li'); li.appendChild(na); tabs.appendChild(li); return li; }

function vfdlinks{ var tabs = document.getElementById('p-cactions').getElementsByTagName('ul')[0]; if(document.title.indexOf("Wikipedia:Articles for deletion") == 0){ addlilink(tabs, 'javascript:hidevfd', 'Hide'); addlilink(tabs, 'javascript:showvfd', 'Show'); } }

if (window.addEventListener) window.addEventListener("load",vfdlinks,false); else if (window.attachEvent) window.attachEvent("onload",vfdlinks);

/**** afd helper ****/ document.write(' ');

importScript('User:ais523 non-admin/adminrights.js'); importScript('User:Digitalme/aiv.js');

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