Jump to content

User:Gestrid/Links.js

From Wikipedia, the free encyclopedia
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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.
/* This script is for personal use. */

$( document ).ready( function() {
  mw.util.addPortletLink(
    'p-personal',
    mw.util.getUrl( 'Special:PendingChanges' ),
    'Pending Changes',
    'pt-pendingchanges',
    'View pages with pending revisions',
    null,
    '#pt-preferences'
  );
});

$( document ).ready( function() {
  mw.util.addPortletLink(
    'p-personal',
    mw.util.getUrl( 'Special:PrefixIndex' ),
    'Prefix Index',
    'pt-prefixindex',
    'View subpages of other pages',
    null,
    '#pt-preferences'
  );
});

$( document ).ready( function() {
  mw.util.addPortletLink(
    'p-personal',
    'https://accounts.wmflabs.org/acc.php',
    'ACC Interface',
    null,
    'Go to the Account Creator Interface tool',
    null,
    '#pt-preferences'
  );
});

$( document ).ready( function() {
  mw.util.addPortletLink(
    'p-personal',
    mw.util.getUrl( 'WP:ACCGUIDE' ),
    'ACC Guide',
    null,
    'View the guide for ACC users',
    null,
    '#pt-preferences'
  );
});

$( document ).ready( function() {
  mw.util.addPortletLink(
    'p-personal',
    'https://ticket.wikimedia.org',
    'OTRS Interface',
    null,
    'View the OTRS interface',
    null,
    '#pt-preferences'
  );
});

$( document ).ready( function() {
  mw.util.addPortletLink(
    'p-personal',
    mw.util.getUrl( 'otrswiki:' ),
    'OTRS-wiki',
    'pt-prefixindex',
    'Go to the OTRS-wiki (login required)',
    null,
    '#pt-preferences'
  );
});