Jump to content

User:Lourdes/PageCuration.js

From Wikipedia, the free encyclopedia
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
/* 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'
  );
});