User:Wtmitchell/vector.js

/* importScript('Wikipedia:WikiProject User scripts/Scripts/Edit_Top'); */ /* importScript('Wikipedia:WikiProject User scripts/Scripts/Add_edit_section_0'); */ /* importScript('Wikipedia:WikiProject User scripts/Scripts/Unwatch'); */ /* importScript('Wikipedia:WikiProject User scripts/Scripts/AJAX Unwatch'); */

// User:Lupin/popups.js // importScript('User:Lupin/popups.js');

// Script by User:DatRoot to footnote text to the tooltips on footnote links $(function refTooltips {   var linkElem, linkHref, noteElem;    // Get list of footnote links (they all have class: 'reference')    var refElems = document.getElementsByClassName("SUP", "reference");    for(var i = 0; i < refElems.length; i++)    {        if(linkElem = refElems[i].getElementsByTagName("a")[0])        {            linkHref = linkElem.href;            // Get footnote id from link href and add text content to link tooltip            if(noteElem = document.getElementById(linkHref.substr(linkHref.indexOf("#") + 1)))                linkElem.title = noteElem.innerText || noteElem.textContent || "";        }    } });

//Twinkle -- see http://en.wikipedia.org/wiki/Wikipedia:WikiProject_User_scripts/Scripts/Twinkle/doc 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                  :       false, markAIVReportAsMinor           :       true, markSpeedyPagesAsMinor         :       true, offerReasonOnNormalRevert      :       true, orphanBacklinksOnSpeedyDelete  :       {orphan:true, exclude:['g6']} }; mw.loader.load( 'ext.gadget.Twinkle' );

// see User:Mr.Z-man/refToolbar importScript('User:Mr.Z-man/refToolbar.js');