User:ChrisDHDR/monobook.js

From Wikipedia, the free encyclopedia

If a message on your talk page led you here, please be wary of who left it. The code below could contain malicious content capable of compromising your account; if your account appears to be compromised, it will be blocked. If you are unsure whether the code is safe, you can ask at the appropriate village pump.
Note: After saving, you have to bypass your browser's cache to see the changes. In Internet Explorer and Firefox, hold down the Ctrl key and click the Refresh or Reload button. Opera users have to clear their caches through Tools→Preferences, see the instructions for Opera. Konqueror and Safari users can just click the Reload button.
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////                                                                                                         /////
/////                                     MAINTENANCE SCRIPTS                                                 /////
/////                                                                                                         /////
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// FROM [[User:Voice of All]] -- HIS ADD TABS SCRIPT
// Helper tools
document.write('<script type="text/javascript" src="' 
             + 'http://en.wikipedia.org/w/index.php?title=User:Voice_of_All/Addtabs/monobook.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 
 
 
 
 
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////                                                                                                         /////
/////                                 NECESSARY, USEFUL SCRIPTS                                               /////
/////                                                                                                         /////
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// [[User:Lupin/popups.js]] -- FOR POPUPS
importScript('User:Lupin/popups.js');
 
// [[User:Lupin/recent2.js]] -- LUPIN'S ANTI-VANDAL TOOL (GIVES 4 EXTRA LINKS IN TOOLBOX
importScript("User:Lupin/recent2.js");
 
// [[User:Ais523/watchlistnotifier.js]] -- Notifies when watchlist is modified
importScript('User:Ais523/watchlistnotifier.js');
 
// [[User:Digitalme/aiv.js]] -- FOR REPORTING CONSTANT VANDALS
importScript('User:Digitalme/aiv.js');
 
// [[User:Zocky/PicturePopups.js]]
document.write('<script type="text/javascript" src="' 
             + 'http://en.wikipedia.org/w/index.php?title=User:Zocky/PicturePopups.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 
// [[User:cacycle/wikEd|wikEd]] -- EXTENDED EDITING TOOLS
document.write('<script type="text/javascript" src="'
+ 'http://en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js'
+ '&action=raw&ctype=text/javascript"></' + 'script>');
 
// [[User:Voice_of_All/UsefulJS#History_and_Edit_Summary_Use_Analysis_.28Requires_Addtab.29]] -- History tools
document.write('<script type="text/javascript" src="' 
+ 'http://en.wikipedia.org/w/index.php?title=User:Voice_of_All/History/monobook.js' 
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 
// [[User:Voice_of_All/UsefulJS#New_pages_log_and_New_Users_log_edit_counters_.28Requires_Addtab.29]] -- Log tools
document.write('<script type="text/javascript" src="' 
+ 'http://en.wikipedia.org/w/index.php?title=User:Voice_of_All/Sleeper/monobook.js' 
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 
// [[WP:TW|Twinkle]] -- ADDS TABS FOR VANDAL FIGHTING
importScript('User:AzaToth/twinkle.js');
TwinkleConfig = {
revertMaxRevisions              :       50,
userTalkPageMode                :       'tab',
showSharedIPNotice              :       true,
openTalkPage                    :       [ 'agf', 'norm', 'vand' ],
openTalkPageOnAutoRevert        :       false,
openAOLAnonTalkPage             :       false,
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          :       false,
watchWarnings                   :       true,
markAIVReportAsMinor            :       true,
markSpeedyPagesAsMinor          :       true,
offerReasonOnNormalRevert       :       true,
orphanBacklinksOnSpeedyDelete   :       {orphan:true, exclude:['g6']}
};
 
// [[WP:FRIENDLY]]
importScript('User:Ioeth/friendly.js');
FriendlyConfig = {
summaryAd                       :       " using [[WP:FRIENDLY|Friendly]]",
topWelcomes                     :       false,
watchWelcomes                   :       true,
markWelcomesAsMinor             :       true,
watchTaggedPages                :       false,
markTaggedPagesAsMinor          :       true,
insertHeadings                  :       true,
welcomeHeading                  :       "== Welcome ==",
insertUsername                  :       true,
insertSignature                 :       true
};
 
 
 
 
 
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////                                                                                                         /////
/////                                        Pleasure Scripts                                                 /////
/////                                                                                                         /////
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// [[User:Ais523 non-admin/adminrights.js]] -- HIGHLIGHTS ADMINS SIG's
importScript('User:Ais523 non-admin/adminrights.js');
 
// ADDS NEW PAGE LINK TO TOOLBAR
addOnloadHook(function() {
addPortletLink ('p-tb', wgArticlePath.replace(/\$1/,'Special:Newpages'), 'New pages');
});
 
// [[User:Alex Smotrov/logpage.js]] -- REARRANGES LOG PAGE INTO A NICE TABLE
importScript('User:Alex Smotrov/logpage.js');
 
// [[Wikipedia:WikiProject User scripts/Scripts/Force edit summary alternative]] -- MAKES EDIT BOX FLASH ORANGE IF NO EDIT SUMMARY
importScript('Wikipedia:WikiProject User scripts/Scripts/Force edit summary alternative');
 
// [[User:Alex Smotrov/qpreview.js]] -- ADDS QUICK PREVIEW INFRONT OF EDITING TOOLBAR
importScript('User:Alex Smotrov/qpreview.js');
 
// [[User:Ais523/votesymbols.js]] -- ADDS VOTE SYMBOLS NEXT TO BOLDED COMMENT
importScript('User:Ais523/votesymbols.js');
 
// [[Wikipedia:WikiProject User scripts/Scripts/Time]] -- ADDS TIME AT TOP-LEFT
importScript('Wikipedia:WikiProject User scripts/Scripts/Time');
 
// [[Wikipedia:WikiProject User scripts/Scripts/Add purge to tabs]] -- ADDS A "PURGE" TAB
importScript('Wikipedia:WikiProject User scripts/Scripts/Add purge to tabs');
 
// [[Wikipedia:WikiProject User scripts/Scripts/Logs link]] -- ADDS LOG LINK IN TOOLBOX
importScript('Wikipedia:WikiProject User scripts/Scripts/Logs link');
 
// [[Wikipedia:WikiProject User scripts/Scripts/Google link]] -- ADDS LINK IN TOOLBOX FOR GOOGLE AND YAHOO! SEARCH
importScript('Wikipedia:WikiProject User scripts/Scripts/Google link');
 
// [[User:Animum/count.js]] -- ???
importScript('User:Animum/count.js');
 
// [[User:Henrik/live-edit-counter]] -- FOR LIVE EDIT COUNT TOOLBOX
importScript('User:Henrik/js/live-edit-counter.js'); 
 
// [[User:Alex Smotrov/iwiki.js]] -- TRANSLATES INTERWIKI LINKS AT LEFT 
var iwDisplayMode = 1
importScript('User:Alex Smotrov/iwiki.js')
 
// [[Wikipedia:WikiProject User scripts/Scripts/Autolink]] -- ADDS LINKS IN HISTORY, CHANGES, AND OTHER PLACES YOU DON'T NORMALLY FIND THEM
importScript('Wikipedia:WikiProject User scripts/Scripts/Autolink');
 
// [[User:Zocky/AutoComplete.js]]
document.write('<script type="text/javascript" src="' 
             + 'http://en.wikipedia.org/w/index.php?title=User:Zocky/AutoComplete.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 
// [[User:Barticus88/edit_section_zero.js]] -- ADDS A "0" BUTTON NEXT TO EDIT BUTTON OF EDITING THE INTRO
importScript('User:Barticus88/edit_section_zero.js');
editThisPageTabText = 'Edit';
editTopSectionTabText = '0';