User:Nigos/scripts/RecentChanges.js

This is an old revision of this page, as edited by Nigos (talk | contribs) at 10:42, 13 February 2018 (There was a typo). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
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 is used to add a link to Special:RecentChanges
   To use the script, add the following line to Special:MyPage/common.js:
   
importScript('User:Anchorvale/scripts/RecentChanges.js');

*/
 
$( document ).ready( function() {
  mw.util.addPortletLink(
    'p-personal',
    mw.util.getUrl( 'Special:RecentChanges' ),
    'Recent Changes',
    'pt-recentchanges',
    'Recent Changes',
    null,
    '#pt-preferences'
  );
});
/*

[[Category:Wikipedia scripts]]

*/