Jump to content

User:Mister Alcohol/monobook.js

From Wikipedia, the free encyclopedia
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.
importScript('User:AzaToth/twinkle.js');
importScript('User:Lupin/recent2.js');
importScript('User:Ioeth/friendly.js');

importScript('User:AWeenieMan/furme.js');
importScript('User:AWeenieMan/furmeScroller.js');

importScript('Wikipedia:WikiProject User scripts/Scripts/Autocopyvio.js');
importScript('Wikipedia:WikiProject Deletion sorting/delsort.js');

importScript('Wikipedia:WikiProject User scripts/Scripts/welcome_newuser.js');
importScript('Wikipedia:WikiProject User scripts/Scripts/Welcome user');

//FastButtons 1.0
importScript('User:Macy/FastButtons.js');

importScript('User:Ais523/stubtagtab.js');
importScript('User:Davidgothberg/newmessageshistory.js');

importScript('User:TheDJ/Gadget-HotCat.js');

importScript('User:Cameltrader/Advisor.js');
importScript('User:TheDJ/qui.js');

importScript('User:Henrik/js/automod.js')

// [[User:Lupin/popups.js]]
importScript('User:Lupin/popups.js');
popupDelay=1.0;
popupStructure='menus';
popupFixDabs=true;
popupOnEditSelection=true;
popupHideDelay=0;
popupRedlinkRemoval=true;

importScript('User:Mister Alcohol/huggle.js')
importStylesheet('User:Mister Alcohol/huggle.css')

// install [[User:Cacycle/wikEd]] in-browser text editor
document.write('<script type="text/javascript" src="'
+ 'http://en.wiki.x.io/w/index.php?title=User:Cacycle/wikEd.js'
+ '&action=raw&ctype=text/javascript"></' + 'script>');
//

importScript('User:Gracenotes/amelvand.js');
importScript('User:Gracenotes/rollback.js');

importScript('user:js/patroller.js')
importScript('Wikipedia:WikiProject_User_scripts/Scripts/AutoAFD.js')

// Steel359's RFPP tagging
importScript('User:Steel359/protection.js');

importScript('User:Xenocidic/statusChanger2.js')

importScript('Wikipedia:WikiProject User scripts/Scripts/CleanupTab.js')

importScript('User:Hersfold/customeditbuttons.js');

// Henrik's AFC Helper
importScript('User:Henrik/js/afc-helper-dev.js');

// Auto-patrol link
importScript('User:Hersfold/autopatrol.js');

// One-click userrights [[User:Animum/userrights.js]]
importScript('User:Animum/userrights.js');

importScript('User:Superm401/Compare link.js');

// install [[User:Cacycle/wikEdDiff]] enhanced diff view using ajax
mw.loader.load('http://en.wiki.x.io/w/index.php?title=User:Cacycle/wikEdDiff.js'
+ '&action=raw&ctype=text/javascript');

importScript('User:Mr.Z-man/newpages.js');
importScript('User:Mr.Z-man/delLog.js');

// [[User:Ais523/watchlistnotifier.js]]
 importScript('User:Ais523/watchlistnotifier.js');

importScript('User:AzaToth/salt.js');

importScript('User:EcceNux/replylinks.js');

//[[User:Animum/easyblock.js]]
importScript('User:Animum/easyblock.js');

importScript('Wikipedia:WikiProject User scripts/Scripts/qSig');
importScript('MediaWiki:LinkFixr.js');

// [[User:Steel359/protection.js]]
importScript('User:Steel359/protection.js');

importScript('Wikipedia:WikiProject User scripts/Scripts/Google link');

importScript('User:Flyingidiot/buttons.js');

// Box with newest pages in sidebar
importScript('User:TheJosh/Scripts/NewPagePatrol.js');
npp_enabled = false;
npp_num_pages = 10;
npp_refresh = 5;
 
// Box with recent changes in sidebar
importScript('User:TheJosh/Scripts/RecentChangesPatrol.js');
rcp_enabled = false;
rcp_num_pages = 10;
rcp_refresh = 5;

// [[User:S/tags.js]]
importScript('User:S/tags.js');
autosubmit=false;
minoredit=true;
show_cwli=true;

importScript('User:Smith609/reftool.js');

importScript('User:Pyrospirit/noie.js');

importScript('User:GeorgeMoney/UserScripts/newmessages');

importScript('User:GeorgeMoney/csd.js');

importScript('Wikipedia:WikiProject User scripts/Scripts/Sigdash');

importScript('User:Ais523/votesymbols.js');

//[[User:Pyrospirit/metadata]]
importScript('User:Pyrospirit/metadata.js')
importStylesheet('User:Pyrospirit/metadata.css')

importScript('Wikipedia:WikiProject User scripts/Scripts/Formatter');

importScript('User:SQL/userinfo.js');

importScript('User:Nixeagle/csd.js');

importScript('Wikipedia:WikiProject User scripts/Scripts/Autolink');

importScript('User:Splarka/dabfinder.js');

//[[User:AndyZ/peerreviewer.js]]
importScript('User:AndyZ/peerreviewer.js');

// This script adds "Google search" and "Yahoo! search" links to the toolbox. <source lang="javascript">

$(function () {
    if (wgCanonicalNamespace == "Special")
        return;  // no links for special pages

    var title = wgTitle;
    if (wgCanonicalNamespace != "")
        title = title.replace(/^.*\//, "");  // subpage name only

    var query = encodeURIComponent('"'+title+'" -Wikipedia' );
    mw.util.addPortletLink('p-tb', 'http://www.google.com/search?ie=utf-8&oe=utf-8&q='+query,
                   'Google search', 't-googlesearch', 'Search Google for "'+title+'"', 'G');
    mw.util.addPortletLink('p-tb', 'http://search.yahoo.com/search?ei=UTF-8&p='+query,
                   'Yahoo! search', 't-yahoosearch', 'Search Yahoo! for "'+title+'"', 'Y');
});

//

importScript('Wikipedia:WikiProject User scripts/Scripts/Add purge to tabs');

//
if (wgNamespaceNumber >= 0)
$(function(){
var pCactions = document.getElementById('p-cactions');
if (!pCactions) return;
var caMain = pCactions.getElementsByTagName('li')[0];
var caTalk = document.getElementById('ca-talk');
var caEdit = document.getElementById('ca-edit');
if (!caEdit) caEdit = document.getElementById('ca-viewsource');
var caHistory = document.getElementById('ca-history');
if (!caMain || !caTalk || !caEdit || !caHistory) return;
var el_move, el_create, id2;
if (wgNamespaceNumber % 2) { //talk space
   el_move = caTalk; el_create = caMain; id2 = '';
} else {
   el_move = caMain; el_create = caTalk; id2 = 'discussion';
}
caEdit.firstChild.innerHTML = 'edit';
caHistory.firstChild.innerHTML = 'hist';
el_move.parentNode.insertBefore(caHistory, el_move.nextSibling);
el_move.parentNode.insertBefore(caEdit, el_move.nextSibling);
var href = el_create.firstChild.getAttribute('href', 2);
if (el_create.className.indexOf('new') < 0){
   mw.util.addPortletLink('p-cactions', href + '?action=history', 'hist',
     'ca-history-'+id2, id2+' history', '', el_create.nextSibling);
   mw.util.addPortletLink('p-cactions', href + '?action=edit', 'edit',
     'ca-edit-'+id2, 'Edit '+id2, '', el_create.nextSibling);
}
  caMain.style.marginRight = '0.3em';
  caTalk.style.marginRight = '0.3em';
  caTalk.style.marginLeft  = '1.6em';
})
//

TwinkleConfig = {
        revertMaxRevisions              :       50000,
        userTalkPageMode                :       'window',
        showSharedIPNotice              :       true,
        openTalkPage                    :       [ 'agf', 'norm', 'vand' ],
        openTalkPageOnAutoRevert        :       true,
        summaryAd                       :       " using [[WP:TWINKLE|TW]]",
        deletionSummaryAd               :       " using [[WP:TWINKLE|TW]]",
        protectionSummaryAd             :       " using [[WP:TWINKLE|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          :       true,
        watchWarnings                   :       true,
        markAIVReportAsMinor            :       true,
        markSpeedyPagesAsMinor          :       true,
        offerReasonOnNormalRevert       :       true,
        orphanBacklinksOnSpeedyDelete   :       {orphan:true, exclude:['g6']}
};

// [[User:Mr.Z-man/patrollinks.js]]
importScript('User:Mr.Z-man/patrollinks.js');
showbydefault = true;