Jump to content

User:1234qwer1234qwer4/MyXfD.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.
// similar to User:Music1201/MyCSD.js, adds link to the Twinkle XfD log to the personal toolbar
$.when( mw.loader.using( ['mediawiki.util'] ), $.ready ).done( function() {
  mw.util.addPortletLink(
    'p-personal',
    mw.util.getUrl('Special:MyPage/XfD log'),
    'XfD log',
    'l-xfd',
    'View XfD log',
    null,
    '#pt-preferences'
    );
});