Jump to content

User:Culex/common.js

From Wikipedia, the free encyclopedia
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.     Be sure to have read and fully understood the instructions at New Pages Patrol.        This script is a fork of [[User:Lourdes/PageCuration.js]], no longer being maintained.     The code below is unchanged.  

*/   
$.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'

   );

 });