Jump to content

User:Inkington/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.
 /*
  * Load scripts
  */
 var inkyScripts = [
   'User:AzaToth/twinkle.js',  // [[WP:TWINKLE]] (includes 'Add LI menu')
//   'User:Lupin/popups.js',  // [[Wikipedia:Tools/Navigation popups]]
   'User:Zocky/PicturePopups.js'  // [[User:Zocky/Picture Popups]]
 ];
 
 var inkyCount = inkyScripts.length;
 for (var i = 0; i < inkyCount; i++) {
   importScript(inkyScripts[i]);
 }
 
 /*
----
 *///----- Twinkle config -----
 
 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              : [ ],
   markRevertedPagesAsMinor        : [ 'agf', 'norm', 'vand', 'torev' ],
   deleteTalkPageOnDelete          : false,
   markWarningsAsMinor             : true,
   markAIVReportAsMinor            : true,
   markSpeedyPagesAsMinor          : true,
   markProdPagesAsMinor            : true,
   confirmUsernameToAIV            : true,
   toolboxButtons                  : [ ]
 };
 
 /*
----
 *///----- Popups config -----
 
 popupSubpopups = false;
 popupRedlinkRemoval = true;
 popupHideDelay = 0.2;
 popupHistoryPreviewLimit = 20;
 popupContribsPreviewLimit = 5;
 
 if (document.title.match("Recent changes")) {
   popupLazyDownloads = false;
   popupLazyPreviews = false;
 }