User:A09/common.js
< User:A09
(Redirected from User:A09090091/common.js)
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 can be added at User:A09/common.css. |
mw.loader.using( ['mediawiki.util' , 'mediawiki.user' , 'jquery.ui.dialog' , 'ext.gadget.libCommons' , 'ext.gadget.libJQuery' , 'ext.gadget.libUtil' , 'mediawiki.RegExp' ] ).then( function () {
mw.loader.load('//commons.wikimedia.org/wiki/MediaWiki:Gadget-dashboard.UndeletionRequester.js?action=raw&ctype=text/javascript');
} );
importScript('User:Sreejithk2000/JustReplace.js');
mw.loader.load('//www.wikidata.org/w/index.php?title=MediaWiki:Gadget-Mark_as_patrolled.js&action=raw&ctype=text/javascript');
/*
* Creates a link to the Central Auth of any user in the tools part of the sidebar from anywhere in their userspace or from their contributions page.
* Import using:
importScript('User:The Voidwalker/centralAuthLink.js');
* in your common.js
*/
mw.loader.using(['mediawiki.util']).done(function(){
var user = mw.config.get( 'wgRelevantUserName' );
if( user !== null && !mw.util.isIPAddress(user) ){
mw.util.addPortletLink(
'p-tb',
mw.util.getUrl('m:Special:CentralAuth/' + user),
'Central Auth',
't-centralauth',
'View global account information'
);
}
});