User:EN-Jungwon/toolbar.js

Source: 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.
 /* Script will add link to toolbar for the administrators newsletter */
$( document ).ready( function() {
  mw.util.addPortletLink(
    'p-personal',
    mw.util.getUrl( 'Template:ANEWS nav' ),
    'ADMINNEWS',
    'l-csd',
    'Administrators newsletter',
    null,
    '#pt-preferences'
  );
});
 /* Script will add link to toolbar for common.js page */
$( document ).ready( function() {
  mw.util.addPortletLink(
    'p-personal',
    mw.util.getUrl( 'Special:MyPage/common.js' ),
    'common.js',
    'l-csd',
    'common.js',
    null,
    '#pt-preferences'
  );
});
 /* Script will add link to centralauth */
$( document ).ready( function() {
  mw.util.addPortletLink(
    'p-personal',
    mw.util.getUrl( ':m:Special:CentralAuth/EN-Jungwon' ),
    'CentralAuth',
    'l-csd',
    'CentralAuth',
    null,
    '#pt-preferences'
  );
});
 /* Script will add link to  */
$( document ).ready( function() {
  mw.util.addPortletLink(
    'p-personal',
    mw.util.getUrl( 'Wikipedia:Featured list candidates/List of Inkigayo Chart winners (2018)/archive1' ),
    'Inkigayo 2018',
    'l-csd',
    'Inkigayo 2018',
    null,
    '#pt-preferences'
  );
});
$( document ).ready( function() {
  mw.util.addPortletLink(
    'p-personal',
    mw.util.getUrl( 'Wikipedia:Featured list candidates/List of Inkigayo Chart winners (2019)/archive1' ),
    'Inkigayo 2019',
    'l-csd',
    'Inkigayo 2019',
    null,
    '#pt-preferences'
  );
});