Jump to content

User:JJPMaster/Scripts/wmcommons.js

From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by JJPMaster (talk | contribs) at 05:38, 17 December 2024 (JJPMaster moved page User:JJPMaster/wmcommons.js to User:JJPMaster/Scripts/wmcommons.js: cleaning up my userspace). The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
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'
  );
});