VOOZH about

URL: https://minecraft.wiki/w/MediaWiki:Gadget-contributions.js

⇱ MediaWiki:Gadget-contributions.js – Minecraft Wiki


MediaWiki:Gadget-contributions.js

From Minecraft Wiki
Jump to navigation Jump to search
In other languages

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 key and click the Reload toolbar button.
For details and instructions about other browsers, see Wikipedia:Bypass your cache.

/**
 * Adds a contribution link on User, User talk and Contributions as a PortletLink
 * @author Jr_Mime
 */
(function($,mw){
$(document).ready(function(){
if(!mw.config.get('wgRelevantUserName'))return;
if(mw.config.get('wgNamespaceNumber')===2||mw.config.get('wgNamespaceNumber')===3){
mw.util.addPortletLink(
'p-associated-pages',
mw.util.getUrl('Special:Contributions/'+mw.config.get('wgRelevantUserName')),
mw.msg('contributions'),
'ca-contributions',
mw.msg('tooltip-t-contributions')
);
}
});
})(jQuery,mediaWiki);
Retrieved from "https://minecraft.wiki/w/MediaWiki:Gadget-contributions.js?oldid=3564547"

Navigation menu