MediaWiki:Gadget-contributions.js: Difference between revisions

mNo edit summary
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
/**
/**
  * Adds a contribution link on User, User talk and Contributions as a PortletLink
  * Adds a contribution link on User, User talk and Contributions as a PortletLink
  * @author Banri
  * @author Jr_Mime
  */
  */


(function ($, mw, gs) {
(function ($, mw, rs) {
   if (mw.config.get('wgNamespaceNumber') === 2 || mw.config.get('wgNamespaceNumber') === 3) {
   if (mw.config.get('wgNamespaceNumber') === 2 || mw.config.get('wgNamespaceNumber') === 3) {
       mw.util.addPortletLink(
       mw.util.addPortletLink(
Line 14: Line 14:
     );
     );
   }
   }
})(jQuery, mediaWiki, [N8]);
})(jQuery, mediaWiki, gswiki);