MediaWiki:Gadget-contributions.js: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| (One intermediate revision 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 | * @author Jr_Mime | ||
*/ | */ | ||
(function ($, mw, | (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( | ||