Jump to content

User:Lightsup55/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.
// Settings for [[Wikipedia:Comments in Local Time]]
LocalComments = {
	dateDifference: false,
	dateFormat: 'dmy',
	timeFirst: false,
};




/**
 * Automatically tick the minor edit check box
 *
 * @source: http://www.mediawiki.org/wiki/Snippets/Mark_minor_edit
 * @rev: 2
 */
jQuery( document ).ready( function( $ ) {
        if( mw.config.get( 'wgAction' ) === 'edit' ) {
                document.getElementById( 'wpMinoredit' ).checked = true;
        }
} );




// Import [[Wikipedia:Twinkle]] script
importScript('User:AzaToth/twinkle.js');

// Twinkle customization required line
if( typeof( TwinkleConfig ) == 'undefined' ) TwinkleConfig = {}; // DO NOT REMOVE THIS LINE

// Twinkle customization below
TwinkleConfig.openTalkPage				=	[ 'agf', 'vand'	];
TwinkleConfig.summaryAd 				=	' using [[WP:Twinkle|Twinkle]]'



// Import [[Wikipedia:Friendly]] script
importScript('User:Ioeth/friendly.js');

// Friendly customization required line
if( typeof( FriendlyConfig ) == 'undefined' ) FriendlyConfig = {}; // DO NOT REMOVE THIS LINE

// Friendly customization below
FriendlyConfig.clockStyle			=	"dynamic";
FriendlyConfig.enableClock			=	false;
FriendlyConfig.summaryAd			=	" using [[WP:Friendly|Friendly]]";
FriendlyConfig.topWelcomes			=	true



// Include [[User:Ais523/catwatch.js]] to watch categories
// Mirror is at [[User:Lightsup55/catwatch.js]]. Use if needed.
importScript('User:Ais523/catwatch.js');

// Include my personal list of watched categories from
// [[User:Lightsup55/WatchedCategories.js]]
importScript('User:Lightsup55/WatchedCategories.js');