Jump to content

User:X!/monobook.js

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by X! (talk | contribs) at 16:17, 25 July 2010 (add script). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
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.
importStylesheet('User:X!/monobook.css');

importScript('User:Tim Song/spihelper.js'); //[[User:Tim Song/spihelper.js]]

importScript('User:Ale_jrb/Scripts/igloo'); // [[User:Ale_jrb/Scripts/igloo]]

importScript('User:Ale_jrb/Scripts/csdhelper.js');  //[[User:Ale_jrb/Scripts]]

importScript('User:AzaToth/morebits.js');
importScript('User:Ioeth/friendlyshared.js');
importScript('User:Ioeth/friendlytag.js');
importScript('User:X!/friendlyclock.js');
importScript('User:Ioeth/friendlytabs.js');

importScript('User:AzaToth/twinklewarn.js');
importScript('User:AzaToth/twinklespeedy.js');
importScript('User:AzaToth/twinkleimage.js');
importScript('User:AzaToth/twinkledeprod.js');
importScript('User:AzaToth/twinklexfd.js');
importScript('User:AzaToth/twinkleprod.js');
importScript('User:AzaToth/twinklebatchdelete.js');
importScript('User:AzaToth/twinklebatchprotect.js');
importScript('User:AzaToth/twinkleimagetraverse.js');
importScript('User:AzaToth/twinklebatchundelete.js');

importScript('User:Quarl/util.js');
importScript('User:Quarl/wikipage.js');
importScript('Wikipedia:WikiProject User scripts/Scripts/Add LI menu');
importStylesheet('Wikipedia:WikiProject User scripts/Scripts/Add LI menu/css');
importScript('Wikipedia:WikiProject Deletion sorting/delsort.js');

importScript("User:Ais523/topcontrib.js");

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

importScript('User:Ais523 non-admin/adminrights.js');

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

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

TwinkleConfig = {
        revertMaxRevisions              :       50,
        userTalkPageMode                :       'tab',
        showSharedIPNotice              :       true,
        openTalkPage                    :       [ 'vand' ],
        openTalkPageOnAutoRevert        :       false,
        summaryAd                       :       "",
        deletionSummaryAd               :       "",
        protectionSummaryAd             :       "",
        watchSpeedyPages                :       [ ],
        watchProdPages                  :       false,
        openUserTalkPageOnSpeedyDelete  :       [ ],
        watchRevertedPages              :       [],
        markRevertedPagesAsMinor        :       [ 'agf', 'norm', 'vand', 'torev' ],
        deleteTalkPageOnDelete          :       false,
        watchWarnings                   :       false,
        markAIVReportAsMinor            :       true,
        markSpeedyPagesAsMinor          :       true,
        offerReasonOnNormalRevert       :       true,
        orphanBacklinksOnSpeedyDelete   :       {orphan:false, exclude:[ 'g1', 'g2', 'g3', 'g4', 'g5', 'g10', 'g11', 'g12', 'a1', 'a3', 'a7', 'a9', 'i3', 'i4', 'i5', 'i6', 'i7', 'i9', 'i11', 'u3', 't1', 't2', 'g6', 'g7', 'g8', 'g9', 'a2', 'a4', 'a5', 'a6', 'a8' ]}
};
 
FurMeConfig = {
        actionOnSubmit                  :  'preview',
        cleanAmazonURLs                 :  true,
        furmeLocation                   :  'filetoc',
        imageRemovalMethod              :  'comment',
        openArticleMode                 :  'none',
        renameMethod                    :  'ifd',
        scrollerMax                     :  10,
        scrollerSkipDone                :  true,
        watchMyEdits                    :  false,
};
 
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
};

var username = wgUserName;
var newmessage = '<a href="/w/index.php?title=User_talk:'+username+'&amp;redirect=no" title="User talk:'+username+'">You have new messages</a> (<a href="/w/index.php?title=User_talk:'+username+'&amp;diff=cur" title="User talk:'+username+'">diff</a> / <a href="/w/index.php?title=User_talk:'+username+'&amp;action=history" title="User talk:'+username+'">history</a> / <a href="http://toolserver.org/~soxred93/tp_redirect.php?username=X!&amp;action=newmsgs" title="User talk:'+username+'">since you</a>).';

document.getElementById('mw-youhavenewmessages').innerHTML = newmessage;