$.when( mw.loader.using( ['mediawiki.util'] ), $.ready ).done( function() {
mw.util.addPortletLink( 'p-personal', '/wiki/Special:PrefixIndex/'+ encodeURI(mw.config.get('wgPageName')), 'Subpages', null, null, null, '#pt-preferences');
mw.util.addPortletLink( 'p-personal', '/wiki/Special:PrefixIndex/User:GermanJoe', 'MySubpages', null, null, null, '#pt-preferences');
mw.util.addPortletLink( 'p-personal', '/wiki/Special:LinkSearch', 'ExternalLinks', null, null, null, '#pt-preferences');
});
importScript('User:Jackmcbarn/editProtectedHelper.js'); // Linkback: [[User:Jackmcbarn/editProtectedHelper.js]];
// Loader script for CommonsHelper Labs (originally by Krimpet, updated by Superm401)
// Released into the public domain
if ( mw.config.get( 'wgCanonicalNamespace' ) === 'File' )
{
var page = 'User:Mattflaschen/CommonsHelper Labs.js';
var url = '//commons.wikimedia.org/w'
+ '/index.php?title='
+ encodeURIComponent( page.replace( / /g, '_' ) )
+ '&action=raw&ctype=text/javascript';
mw.loader.load( url );
}
// ReFill
mw.loader.load( "https://meta.wikimedia.org/w/index.php?title=User:Zhaofeng_Li/Reflinks.js&action=raw&ctype=text/javascript" );
if (mw.config.get('wgCanonicalSpecialPageName') == 'Whatlinkshere')
importScript('User:V111P/js/whatLinksHereLinkFilter.js'); // [[User:V111P/js/whatLinksHereLinkFilter.js]]
// Rater is flagged unstable - check edits !! (disabled now, new Evad37 version exists)
// importScript('User:Kephir/gadgets/rater.js'); // [[User:Kephir/gadgets/rater]];
importScript('User:Evad37/rater.js'); // [[User:Evad37/rater]]
importScript('User:Frietjes/findargdups.js'); // [[User:Frietjes/findargdups]];
/**** quick image delete ****/
importScript('User:Howcheng/quickimgdelete.js');
importScript('User:MusikAnimal/confirmationRollback.js'); // Linkback: [[User:MusikAnimal/confirmationRollback.js]]
var wikEdConfig = {};
wikEdConfig.nbspToChar = false;
mw.hook("wikipage.content").add(function() {
$("a.new").each(function()
{
this.href = this.href.replace("&action=edit","");
});
});
mw.loader.load( '/w/index.php?title=User:%CE%A3/Testing_facility/Archiver.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Σ/Testing facility/Archiver]]