Jump to content

User:Sgeureka/common.js

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Sgeureka (talk | contribs) at 09:42, 23 June 2010 (Revert to revision 367242177 dated 2010-06-10 17:17:45 by Sgeureka using popups). 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.
// [[User:Lupin/popups.js]]
importScript('User:Lupin/popups.js');
popupDelay = 1.5;
popupHideDelay = 0.1;
popupImages = false;
popupPreviews = false;
popupFixDabs=true;

// Twinkle
importScript('User:AzaToth/twinklefluff.js');
TwinkleConfig = {
        revertMaxRevisions              :       50,
        userTalkPageMode                :       'window',
        showSharedIPNotice              :       true,
        openTalkPage                    :       [ 'agf', 'norm', 'vand' ],
        openTalkPageOnAutoRevert        :       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,
        watchWarnings                   :       false,
        markAIVReportAsMinor            :       true,
        markSpeedyPagesAsMinor          :       true,
        offerReasonOnNormalRevert       :       true,
        orphanBacklinksOnSpeedyDelete   :       {orphan:true, exclude:['g6']}
};
//below per [[Wikipedia talk:Twinkle#Twinkle menu on Vector]] (11 May 2010)
//if( typeof( TwinkleConfig ) == 'undefined' ) TwinkleConfig = {};
TwinkleConfig.portletArea = 'column-one';
TwinkleConfig.portletId   = 'p-variants';
TwinkleConfig.portletName = 'Twinkle';
TwinkleConfig.portletNext = 'p-search';

importScript('User:Alex Smotrov/wlunwatch.js'); //immediate watchlist entry removal

// http://en.wikipedia.org/wiki/Wikipedia:Village_pump_(technical)#Article_sub-pages (August 28, 2008)
addOnloadHook(function () {
    addPortletLink('p-personal', wgArticlePath.replace("$1", "Special:Mypage/Sandbox"), 'My sandbox', 'pt-sandbox', 'Your personal sandbox', null, document.getElementById('pt-preferences'));
});

// http://en.wikipedia.org/wiki/User:Tony1/Information_on_the_removal_of_DA (date auto formatting)
importScript('User:Lightmouse/monobook.js/script.js');

importScript('User:Dr_pda/prosesize.js'); // Linkback: [[User:Dr_pda/prosesize.js]]

importScript('User:Anomie/linkclassifier.js'); // Linkback: [[User:Anomie/linkclassifier.js]]

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

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