User:Joe Sewell/addBookmark.js

/* Want a personal bookmarks page? This script lets you add a link to it in the "personal" portlet. */ //

$( document ).ready( function {  //Add a link to personal pointing to "Bookmarks" on the current site, just after "Contributions"  mw.util.addPortletLink ('p-personal', mw.util.getUrl('Special:MyPage/Bookmarks'), 'My Bookmarks', 'pt-MyBookmarks', 'View my bookmarks', '', '#pt-mycontris') } );

// //