User:Lightsup55/monobook.js
Appearance
Code that you insert on this page could contain malicious content capable of compromising your account. If you import a script from another page with "importScript", "mw.loader.load", "iusc", or "lusc", take note that this causes you to dynamically load a remote script, which could be changed by others. Editors are responsible for all edits and actions they perform, including by scripts. User scripts are not centrally supported and may malfunction or become inoperable due to software changes. A guide to help you find broken scripts is available. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump. This code will be executed when previewing this page. |
The accompanying .css page for this skin is at User:Lightsup55/monobook.css. |
// 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');