Jump to content

User:FlyingToaster/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.
importScript('User:AzaToth/twinkle.js');
importScript('User:Ioeth/friendly.js');
importScript('User:Mr.Z-man/refToolbar.js');


TwinkleConfig = {
    batchdeleteChunks            :    50,
    batchDeleteMinCutOff            :    5,
    batchMax                :    5000,
    batchProtectChunks            :    50,
    batchProtectMinCutOff            :    5,
    batchundeleteChunks            :    50,
    batchUndeleteMinCutOff            :    5,
      blankTalkpageOnIndefBlock        :    false,
      defaultWarningGroup            :    1,
    deleteTalkPageOnDelete            :    false,
    deletionSummaryAd            :    ' using [[WP:TW|TW]]',
    deliChunks                :    500,
    deliMax                    :    5000,
      markAIVReportAsMinor            :    true,
      markSockReportAsMinor            :    true,
      markUAAReportAsMinor            :    true,
    markRevertedPagesAsMinor        :    [ 'vand' ],
    markSpeedyPagesAsMinor            :    false,
    markSpeedyPagesAsPatrolled        :    true,
    notifyUserOnDeli            :    true,
    notifyUserOnSpeedyDeletionNomination    :    [ 'g1', 'g2', 'g3', 'g4', 'g10', 'g11', 'g12', 'a1', 'a2', 'a3', 'a5', 'a7', 'a9', 'i1', 'i2', 'i3', 'i4', 'i5', 'i6', 'i7', 'i8', 'i9', 'i10', 'i11', 'u3', 't1', 't2', 't3', 'p2' ],
    offerReasonOnNormalRevert        :    true,
    openTalkPage                :    [ 'agf', 'norm', 'vand' ],
    openTalkPageOnAutoRevert        :    false,
    openUserTalkPageOnSpeedyDelete        :    [ 'g1', 'g2', 'g3', 'g4', 'g5', 'g10', 'g11', 'g12', 'a1', 'a3', 'a7', 'a9', 'i3', 'i4', 'i5', 'i6', 'i7', 'i9', 'i11', 'u3', 't1', 't2' ],
    orphanBacklinksOnSpeedyDelete        :    {exclude:['g6'], orphan:true},
    proddeleteChunks            :    50,
    protectionSummaryAd            :    ' using [[WP:TW|TW]]',
    revertMaxRevisions            :    50,
    showSharedIPNotice            :    true,
    summaryAd                :    ' using [[WP:TW|TW]]',
    userTalkPageMode            :    'window',
    watchProdPages                :    true,
    watchRevertedPages            :    [],
    watchWarnings                :    false,
    watchSpeedyPages            :    [ 'g1', 'g2', 'g3', 'g5', 'g4', 'g7', 'g10', 'g11', 'g12', 'a1', 'a2', 'a3', 'a4', 'a5', 'a7', 'a9' ],
};

/*** BEGIN WIKIBREAK ENFORCER ***/
$(function() {
 
	/*** Start editing here ***/

	var date = { year: 2009, month: 4, day: 9};
	var time = { hours: 22, minutes: 22, seconds: 0 };
 
	/*** Stop editing here ***/
 
	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("Enforced wikibreak until "+enforcedBreakEnd.toLocaleString()
			+ "\n(now is "+currentDate.toLocaleString()+")\n\nBye!");
		location = "http://"+location.host+"/w/index.php?title="
			+ "Special:Userlogout&returnto=Main_Page";
	}
});
/*** END WIKIBREAK ENFORCER ***/