Jump to content

User:Mattflaschen-WMF/common.js

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Mattflaschen-WMF (talk | contribs) at 01:31, 12 September 2017 (base and bold). 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.
mw.loader.load( 'https://en.wikipedia.org/enwiki/w/index.php?title=User:Albert221/common.css&action=raw&ctype=text/css', 'text/css' );
mw.loader.load( 'https://en.wikipedia.org/enwiki/w/index.php?title=MediaWiki:Gadget-ReferenceTooltips.js&action=raw&ctype=text/javascript' );

// [[File:User:He7d3r/Tools/DebugModeToggle.js]] (workaround for [[bugzilla:33355]])
mw.loader.load( '//meta.wikimedia.org/enwiki/w/index.php?title=User:He7d3r/Tools/DebugModeToggle.js&action=raw&ctype=text/javascript' );

// [[File:Krinkle_RTRC.js]]
mw.loader.load('//meta.wikimedia.org/enwiki/w/index.php?title=User:Krinkle/RTRC.js&action=raw&ctype=text/javascript');

var $body = $( 'body' );
if ( $body.is( '.mw-special-Recentchanges, .mw-special-Recentchangeslinked, .mw-special-Watchlist' ) ) {
	$body.addClass( 'mw-rcfilters-enabled' );
}

mw.loader.load( 'https://en.wikipedia.org/enwiki/w/index.php?title=User:Mattflaschen-WMF/MediaWiki:Gadget-WatchlistBase.css&action=raw&ctype=text/css', 'text/css' );

/*
var skin = mw.config.get( 'skin' );
if ( skin === 'vector' ) {
	mw.loader.load( 'https://en.wikipedia.org/enwiki/w/index.php?title=User:Mattflaschen-WMF/MediaWiki:Gadget-WatchlistGreenIndicators.css&action=raw&ctype=text/css', 'text/css' );
} else if ( skin === 'monobook' || skin === 'modern' ) {
	mw.loader.load( 'https://en.wikipedia.org/enwiki/w/index.php?title=User:Mattflaschen-WMF/MediaWiki:Gadget-WatchlistGreenIndicatorsMono.css&action=raw&ctype=text/css', 'text/css' );
}
*/

mw.loader.load( 'https://en.wikipedia.org/enwiki/w/index.php?title=User:Mattflaschen-WMF/MediaWiki:Gadget-WatchlistChangesBold.css&action=raw&ctype=text/css', 'text/css' );