Jump to content

User:Flex/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.
//Detect IE5.5+
if (navigator.appVersion.indexOf("MSIE")==-1)
{

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



FriendlyConfig = {
summaryAd                       :       "",
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                :       false,
markTaggedPagesAsMinor          :       true
};



/*
// [[User:Lupin/popups.js]]
importScript('User:Lupin/popups.js');
*/
popupFixRedirs      = true;
popupRedlinkRemoval = true;
popupFixDabs        = true;
popupPreviews       = true;

//Twinkle
TwinkleConfig = {
   revertMaxRevisions              :       50,
   userTalkPageMode                :       'tab',
   showSharedIPNotice              :       false,
   openTalkPage                    :       [ 'vand' ],
   openTalkPageOnAutoRevert        :       false,
   openAOLAnonTalkPage             :       false,
   summaryAd                       :       " w/[[WP:TWINKLE|TW]]",
   deletionSummaryAd               :       " w/[[WP:TWINKLE|TW]]",
   watchSpeedyPages                :       [ 'g3', 'g5', 'g10', 'g11', 'g12' ],
   openUserTalkPageOnSpeedyDelete  :       [ 'g1', 'g2', 'g10', 'g11', 'g12', 'a1', 'a7', 'i3', 'i4', 'i5', 'i6', 'i7', 'u3', 't1' ],
   watchRevertedPages              :       [],
   markRevertedPagesAsMinor        :       [ 'agf', 'norm', 'vand', 'torev' ],
   deleteTalkPageOnDelete          :       false,
   markWarningsAsMinor             :       false,
   markAIVReportAsMinor            :       false,
   markSpeedyPagesAsMinor          :       false,
   confirmUsernameToAIV            :       true,
   watchWarnings                   :       false
};



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


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

}