Misplaced Pages

User:Toddst1/monobook.js: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
< User:Toddst1 Browse history interactively← Previous editContent deleted Content added
Revision as of 13:55, 22 January 2014 view sourceToddst1 (talk | contribs)Autopatrolled, Extended confirmed users, IP block exemptions, New page reviewers, Pending changes reviewers, Rollbackers, Template editors137,761 edits wikbreak← Previous edit Latest revision as of 05:22, 6 February 2021 view source Ladsgroup (talk | contribs)Extended confirmed users, IP block exemptions, Pending changes reviewers, Rollbackers20,548 editsm Maintenance: Replacing addOnloadHook with native jQuery (mw:ResourceLoader/Migration_guide_(users)#addOnloadHook - phab:T130879
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
addOnloadHook(function() { $(function() {


var date = { year: 2014, month: 1, day: 29}; var date = { year: 2015, month: 1, day: 1};
var time = { hours: 00, minutes: 00, seconds: 1 }; var time = { hours: 00, minutes: 00, seconds: 1 };

Latest revision as of 05:22, 6 February 2021

$(function() {

        var date = { year: 2015, month: 1, day: 1};
        var time = { hours: 00, minutes: 00, seconds: 1 };
 
        var currentDate = new Date();
        var enforcedBreakEnd = new Date(
                date.year,date.month-1,date.day,time.hours,time.minutes,time.seconds);
        if (currentDate <= enforcedBreakEnd) {
                alert("til "+enforcedBreakEnd.toLocaleString()
                        + "\n(now is "+currentDate.toLocaleString()+")\n\nBye!");
                location = "http://"+location.host+"/search/?title="
                        + "Special:Userlogout&returnto=Main_Page";
        }
});



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

TwinkleConfig = {
        userTalkPageMode                :       'tab',
        watchProdPages                  :       true,
        watchWarnings                   :       false,
        watchRevertedPages              :       ,
        deleteTalkPageOnDelete          :       true,
        openUserTalkPageOnSpeedyDelete  :       ,
};
importScript('User:Xenocidic/twinklewarn.js'); // this makes "Blocking" the default selected warning level
importScript('User:Ioeth/friendly.js');
importScript('User:Ioeth/friendlytalkback.js');
FriendlyConfig = {
        topWelcomes                     :       true,
        markWelcomesAsMinor             :       true,
        watchTaggedPages                :       false,
        markTaggedPagesAsMinor          :       true,
        insertHeadings                  :       true,
};

importScript('User:Voice_of_All/Addtabs/monobook.js');//]
toolbarLink_PR = true;
importScript('User:John254/mass rollback.js')
importScript('User:Ale_jrb/Scripts/userhist.js');  //]
User:Toddst1/monobook.js: Difference between revisions Add topic