User:Allstarecho/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.
// <nowiki>
// Script from [[User:Haza-w/cactions.js]]
importScript('User:Haza-w/cactions.js');
var cactions = {
    itabs: true,
    svars: Array(
        ['2009 Ole Miss FB',    wgScript+'?title=2009_Ole_Miss_Rebels_football_team&action=view'],
        ['LGBTproject talk',    wgScript+'?title=Wikipedia_talk:WikiProject_LGBT_studies&action=view'],
        ['WPMISS',    wgScript+'?title=Wikipedia:WikiProject_Mississippi&action=view'],
        ['WPMISS talk',    wgScript+'?title=Wikipedia_talk:WikiProject_Mississippi&action=view'],
        ['WPMISS alerts',    wgScript+'?title=Template:WikiProject_Mississippi/includes&action=view'],
        ['ANI page',    wgScript+'?title=Wikipedia:Administrators%27_noticeboard/Incidents&action=view'],
        ['AN page',    wgScript+'?title=Wikipedia:Administrators%27_noticeboard&action=view'],
        ['Report vandals',    wgScript+'?title=Wikipedia:Administrator_intervention_against_vandalism&action=view'],
        ['Report socks',    wgScript+'?title=Wikipedia:Sockpuppet_investigations&action=view'],
        ['Report 3RR',    wgScript+'?title=Wikipedia:Administrators%27_noticeboard/Edit_warring&action=view'],
        ['Report username',    wgScript+'?title=Wikipedia:Usernames_for_administrator_attention&action=view'],
        ['Wikiquette alerts',    wgScript+'?title=Wikipedia:Wikiquette_alerts&action=view'],
        ['Page protection',    wgScript+'?title=Wikipedia:Requests_for_page_protection&action=view'],
        ['Deletion review',    wgScript+'?title=Wikipedia:Deletion_review&action=view'],
        ['Request oversight',    wgScript+'?title=Wikipedia:Requests_for_oversight&action=view'],
        ['Requests for admin',    wgScript+'?title=Wikipedia:Requests_for_adminship&action=view'],
        ['My monobook js',    wgScript+'?title=User:Allstarecho/monobook.js&action=view']
    )
};

// Reference and Source bot
importScript("User:Smith609/toolbox.js");

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

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

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

importScript('Wikipedia:WikiProject User scripts/Scripts/Add LI menu');

importStylesheet('Wikipedia:WikiProject User scripts/Scripts/Add LI menu/css');

// [[User:Ioeth/friendly.js]]
importScript('User:Ioeth/friendly.js');
 
FriendlyConfig = {
        summaryAd                       :       " using [[WP:FRIENDLY|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
};

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

// Adds dropdown for article tags
importScript('User:S/tags.js');

// Add a link to Special:Log&user=Allstarecho to the p-personal bar.
$(function () {
    mw.util.addPortletLink('p-personal', wgArticlePath.replace(/\$1/, 'Special:Log?user=Allstarecho'),
        'my logs', 'pt-mylogs', 'my logs', null, document.getElementById('pt-logout'));
});

// Recent changes filter
importScript("User:Lupin/recent2.js");

// [[User:Zocky/PicturePopups.js]]
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Zocky/PicturePopups.js' 
             + '&action=raw&ctype=text/javascript');

// [[User:Henrik/sandbox/google-search]] (please include this line)
function install_search()
{
document.getElementById('searchBody').innerHTML+='<div>'+
'<FORM method=get action="http://www.google.com/search" target="_blank">'+
'<input type=hidden name="ie" value="UTF-8" /><input type=hidden name="oe" value="UTF-8" />'+
'<INPUT id="searchInput" name="q" type="text" accesskey="f" value="" />'+
'<input type="hidden" name="domains" value="en.wikipedia.org" />'+
'<input type=radio name=sitesearch value="">Web'+
'<input type=radio name=sitesearch value="en.wikipedia.org" checked />WP'+
'<INPUT type="submit" name="btnG" VALUE="Google Search"  /></FORM></div>';
}
$(install_search);

// Provides the in or busy or out status function
importScript('User:Voice_of_All/Addtabs/monobook.js');
importScript('User:Allstarecho/statusChanger.js');
 
// [[User:Dschwen/highlightredirects.js]] - please include this line 
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Dschwen/highlightredirects.js' 
+ '&action=raw&ctype=text/javascript');

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

// Vandal tool
importScript('User:AzaToth/twinkle.js');

TwinkleConfig = {
        revertMaxRevisions              :       50,
        userTalkPageMode                :       'window',
        showSharedIPNotice              :       false,
        openTalkPage                    :       [ 'vand' ],
        openTalkPageOnAutoRevert        :       false,
        summaryAd                       :       " Using [[WP:TW]].",
        deletionSummaryAd               :       " Using [[WP:TW]].",
        protectionSummaryAd             :       " Using [[WP:TW]].",
        watchSpeedyPages                :       [ ],
        watchProdPages                  :       false,
        openUserTalkPageOnSpeedyDelete  :       [ ],
        watchRevertedPages              :       [ ],
        markRevertedPagesAsMinor        :       [ 'agf', 'norm', 'vand', 'torev' ],
        watchWarnings                   :       false,
        openAOLAnonTalkPage             :       false,
        markAIVReportAsMinor            :       true,
        markSpeedyPagesAsMinor          :       true,
        offerReasonOnNormalRevert       :       true,
};

//Adds 'sum' link to provide summaries when using rollback
importScript('User:Gracenotes/rollback.js');
rollbackSummaryDefault = "Destroying vandalism from [[Special:Contributions/$2|$2]] ([[User talk:$2|talk]]). Resistance is futile!";

importScript('User:ais523/editcount.js');

importScript('User:Shubinator/DYKcheck.js'); //DYKcheck tool

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

importScript('User:Drilnoth/assessortags.js');

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

importScript('User:Dispenser/Link checker/toolbox.js');

//[[User:MarkS/extraeditbuttons.js]] Custom toolbar buttons
XEBOrder='5,6,8,A,B,C,D,D1,E,F,FS,G,I1,I2,J1,J2,P,P1,R,R1,S,T,TL,U,V,W,X,Y1,Y2,Z,AI,ASE1,ASE2';
rmEditButtons=['all'];
myButtons={'ASE1':['http://upload.wikimedia.org/wikipedia/commons/6/67/Button_BY.png','sig','{{subst:','sig}}','User:Allstarecho/'],'ASE2':['http://upload.wikimedia.org/wikipedia/commons/5/5f/Button_rediriger.png','tb','{{','}}','subst:User:Allstarecho/tkbk']};
importScript('User:MarkS/extraeditbuttons.js');

//Creates link that when clicked on at an article's talk page it auto-opens article talk page for editing,
//pastes in MiszaBot archiving parameters and fills out the edit summary. All you have to do is adjust
//those parameters to your liking and click Save.
importScript('User:Allstarecho/autoarchive.js');


//Creates link that when clicked on at an article's talk page it auto-opens article talk page for editing, pastes in WikiProject Mississippi project tag and fills out the edit summary. All you have to do is adjust the tag parameters to your liking and click Save.
importScript('User:Allstarecho/wpms.js');

//Creates link that when clicked on at an article's talk page it auto-opens article talk page for editing, pastes in WikiProject LGBT Studies project tag and fills out the edit summary. All you have to do is adjust the tag parameters to your liking and click Save.
importScript('User:Allstarecho/wplgbt.js');

//Creates link that when clicked on at an article's talk page it auto-opens article talk page for editing, pastes in WikiProject LGBT Studies project tag and fills out the edit summary. All you have to do is adjust the tag parameters to your liking and click Save.
importScript('User:Allstarecho/unsigned2.js');

mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Allstarecho/geoloc.js'
+ '&action=raw&ctype=text/javascript');

importScript('User:2D/commonsmover.js');
// </nowiki>