User:Peterdownunder/common.js
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
mw.loader.load("//simple.wikipedia.org/w/index.php?title=User:Intforce/lastactive.js&action=raw&ctype=text/javascript");
/**
* Adds a tab to link to the page with the same title on the English Wikipedia
* @author Grunny
*/
$( function () {
var enwikiUrlPath = 'http://en.wikipedia.org/wiki/';
if( mw.config.get( 'wgServer' ).indexOf( 'https://' ) === 0 ) {
enwikiUrlPath = mw.config.get( 'wgServer' ) + '/wikipedia/en/wiki/';
}
if( mw.config.get( 'skin' ) === 'vector' ) {
//Could just use p-views in the addPortletLink for vector, but it looks weird after the watch star
$( '#p-views ul li#ca-history' ).after( '<li id="ca-enwiki-link"><span><a href="' + enwikiUrlPath + encodeURIComponent( mw.config.get( 'wgPageName' ) )
+ '" title="View same page on the English Wikipedia">EnWiki</a></span></li>' );
} else {
mw.util.addPortletLink( 'p-cactions', enwikiUrlPath + encodeURIComponent( mw.config.get( 'wgPageName' ) ),
"enwiki", "ca-enwiki-link", "View same page on the English Wikipedia" );
}
} );
mw.loader.load('https://en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-ProveIt.js&action=raw&ctype=text/javascript');
// [[:en:User:ProveIt GT]]
mw.loader.load('//www.wikidata.org/w/index.php?title=User:Yair_rand/checksitelinks.js&action=raw&ctype=text/javascript');
mw.loader.load(['ext.gadget.Twinkle']);
/* Link classifier */
mw.loader.load('//simple.wikipedia.org/w/index.php?title=User:Auntof6/linkclassifier.js&action=raw&ctype=text/javascript');
importStylesheet('User:Auntof6/linkclassifier.css');
mw.loader.load( "https://meta.wikimedia.org/w/index.php?title=User:Zhaofeng_Li/Reflinks.js&action=raw&ctype=text/javascript" );
/* AWB style script */
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Joeytje50/AWB.js/load.js&action=raw&ctype=text/javascript');
/**
* SWViewer
* See [https://meta.wikimedia.org/wiki/SWViewer]
* Authored by Tulsi Bhagat [https://meta.wikimedia.org/wiki/User:Tulsi_Bhagat]
* Shortcut key [alt-shift-v]
*/
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Tulsi_Bhagat/swviewer.js&action=raw&ctype=text/javascript');