User:Shaddack/monobook.js

// User:Lupin/popups.js - please include this line // See also http://en.wikipedia.org/wiki/Wikipedia:Tools/Navigation_popups //document.write('');

//importScript('User:Lupin/popups.js'); popupFixRedirs=true; popupFixDabs=true; popupImages=false; imagePopupsForImages=false;

defaultdiffs = 1000;   // or whatever number, see script for details importScript('Wikipedia:WikiProject User scripts/Scripts/Changes since I last edited');

userHideAllSubsequent=true; //importScript('User:Markhurd/hidetopcontrib.js');

//importScript('User:Lampak/MyLanguages.js'); //var mylangsArray = ["cs", "sk", "ru", "fi"];

importScript('User:Ais523/highlightmyname2.js'); importScript('User:Ais523/topcontrib.js'); importScript('User:Alex Smotrov/histcomb.js') //importScript('User:Supadawg/secedit.js'); importScript('User:js/watchlist'); //importScript('User:Manishearth/sidebartranslinks.js');

$(function {   var editTab = document.getElementById("ca-edit");    if (!editTab) return;    var editURL = editTab.getElementsByTagName("a")[0].href;    mw.util.addPortletLink("p-cactions", editURL + "&externaledit=true", "EE", "ca-exted", "External editor", ""); });

//importScript('Wikipedia:WikiProject User scripts/Scripts/Search links'); // This script adds toolbox links to search Google web, news archive, books, scholar, and images for the title of the page. $(function {    if (mw.config.get('wgCanonicalNamespace') == "Special")        return;  // no links for special pages    var title = mw.config.get('wgTitle');    if (mw.config.get('wgCanonicalNamespace') != "")        title = title.replace(/^.*\//, "");  // subpage name only    var query = encodeURIComponent('"'+title+'" -Wikipedia' );     var query2 = encodeURIComponent('"'+title+'"' );     mw.util.addPortletLink('p-tb', 'http://www.google.com/search?num=50&q='+query, 'Google Web search', 't-googlesearch', 'Search Google for "'+title+'"', 'W');   mw.util.addPortletLink('p-tb', 'http://www.youtube.com/results?search_type=&aq=-1&oq=&search_query='+encodeURIComponent(title), 'YouTube search', 't-youtubesearch', 'Search YouTube for "'+title+'"', 'U');   mw.util.addPortletLink('p-tb', 'http://search.yahoo.com/search?ei=UTF-8&p='+query, 'Yahoo! search', 't-yahoosearch', 'Search Yahoo! for "'+title+'"', 'Y');   mw.util.addPortletLink('p-tb', 'http://news.google.com/archivesearch?num=50&as_price=p1&as_src=-newswire+-wire+-presswire+-PR+-press+-release&q='+query, 'News search', 't-googlenewssearch', 'Search Google News Archive for "'+title+'"', 'N');   mw.util.addPortletLink('p-tb', 'http://books.google.com/books?num=50&as_brr=3&as_pub=&q='+query2, 'Books search', 't-googlebookssearch', 'Search Google Books for "'+title+'"', 'B');   mw.util.addPortletLink('p-tb', 'http://scholar.google.com/scholar?num=50&q='+query2, 'Scholar search', 't-googlescholarsearch', 'Search Google Scholar for "'+title+'"', 'S');   mw.util.addPortletLink('p-tb', 'http://images.google.com/images?num=50&q='+query2, 'Images search', 't-googleimagesearch', 'Search Google Images for "'+title+'"', 'I'); });