User:Nigos/common.js

/* 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'); // Linkback: 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' ); }); /* 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'); // Linkback: User:Anchorvale/scripts/RecentChanges.js

$( document ).ready( function { mw.util.addPortletLink( 'p-personal', mw.util.getUrl( 'Wikipedia:Main Page' ), 'Wikipedia', 'pt-wikipedia', 'Wikipedia', null, '#pt-preferences' ); });