User:Frdp/common.js

/* This script adds a "Page Curation" link to the top toolbar that points to Special:NewPagesFeed. It is primarily designed to assist new page reviewers. Page Curation is a feature-rich purpose-built system to review new pages. Be sure to have read and fully understood the instructions at New Pages Patrol. To use the script, add the following line to Special:MyPage/common.js: importScript('User:Lourdes/PageCuration.js'); // Linkback: User:Lourdes/PageCuration.js

$.when( mw.loader.using( ['mediawiki.util'] ), $.ready ).done( function {	 mw.util.addPortletLink( 'p-personal', mw.util.getUrl('Special:NewPagesFeed'), 'Page Curation', 'pt-pagecuration', 'View the new pages feed', null, '#pt-preferences' ); });

mw.loader.using(['mediawiki.util', 'mediawiki.api'], function {	mw.loader.load('https://en.wikipedia.org/w/?title=MediaWiki:Gadget-MoreMenu.enwiki.js&action=raw&ctype=text/javascript'); });