Jump to content

User:JJPMaster/Scripts/wmcommons.js

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by JJPMaster (talk | contribs) at 03:49, 17 November 2024 (i'm so sorry for any harm this mistake might have caused). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
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.
$.when( mw.loader.using( ['mediawiki.util'] ), $.ready ).done( function() {
  mw.util.addPortletLink(
    'p-personal',
    mw.util.getUrl('Special:MyPage/common.js'),
    'Common.js',
    'pt-commonjs',
    'View your common.js',
    null,
    '#pt-preferences'
  );
});
$.when( mw.loader.using( ['mediawiki.util'] ), $.ready ).done( function() {
  mw.util.addPortletLink(
    'p-personal',
    mw.util.getUrl('Special:MyPage/CSD log'),
    'CSD log',
    'pt-commonjs',
    'View your CSD log',
    null,
    '#pt-preferences'
  );
});