User:Nigos/scripts/RecentChanges.js: Difference between revisions

Content deleted Content added
No edit summary
 
(13 intermediate revisions by 2 users not shown)
Line 1:
/* 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:AnchorvaleNigos/scripts/RecentChanges.js'); // Linkback: [[User:Anchorvale/RecentChanges.js]]
 
*/
 
// Adapted from User:Omni Flames/PendingChangesLink.js
// You can also access Recent Changes by clicking on the “recent changes” link under “interaction” on the side of the Wikipedia page.
$( document ).ready( function() {
Line 10 ⟶ 13:
'p-personal',
mw.util.getUrl( 'Special:RecentChanges' ),
'RecentChangesRecent Changes',
'pt-Recent Changesrecentchanges',
'Recent Changes',
null,
'#pt-preferences'
);
});
/*
 
[[Category:Wikipedia scripts]]
 
*/