User:PythonSwarm/sidebar.js

$.when( mw.loader.using( ['mediawiki.util'] ), $.ready ).done( function {	mw.util.addPortletLink ('p-tb', mw.config.get('wgServer')+mw.config.get('wgArticlePath').replace("$1", "Special:NewPagesFeed"), 'New pages feed'); } );