User:Thisisborin9/newpages.js

addOnloadHook(function {    mw.util.addPortletLink("p-interaction", wgArticlePath.replace(/\$1/, 'Special:Newpages'), "New pages", "n-newpages", "View a list of recently created pages"); });