User:common.js
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
$.when(mw.loader.using(['mediawiki.util']), $.ready).then(function () {
mw.util.addPortletLink('p-Use_cases', mw.util.getUrl('Special:RecentChanges'), 'Recent changes', 'n-recentchanges', 'A list of recent changes in the wiki', 'r', null);
mw.util.addPortletLink('p-Use_cases', mw.util.getUrl('Special:Random'), 'Random page', 'n-randompage', 'Load a random page', 'x', null);
});