User:Wikitanvir/common.js
Jump to navigation
Jump to search
Note: After saving, you have to bypass your browser's cache to see the changes. Internet Explorer: press Ctrl-F5, Mozilla: hold down Shift while clicking Reload (or press Ctrl-Shift-R), Opera/Konqueror: press F5, Safari: hold down Shift + Alt while clicking Reload, Chrome: hold down Shift while clicking Reload.
The accompanying .css page for this skin is at User:Wikitanvir/common.css. |
// Local JavaScript, loaded on this wiki
// <nowiki>
// Purge button
// From [[mw:Snippets/Purge action]] r4
if ( mw.config.get('wgArticleId') > 0 && !$( '#ca-purge' ).length ) {
mw.util.addPortletLink( 'p-cactions', mw.util.getUrl( mw.config.get('wgPageName') ) + '?action=purge',
mw.config.get('skin') === 'vector' ? 'Purge' : '*', 'ca-purge', 'Purge the server cache of this page' );
}
// Real-Time Recent Changes
// By [[User:Krinkle]]
// [[File:Krinkle_RTRC.js]]
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Krinkle/RTRC.js&action=raw&ctype=text/javascript');
// License review script
// By [[User:ZooFari]] - [[User talk:ZooFari/licensereviewer.js]]
importScript('User:ZooFari/licensereviewer.js');
// User messages
// By [[User:Rillke]]
importScript("User:Rillke/AxUserMsg.js");
// </nowiki>