User:Thorsb/common.js

From Fallen London Wiki

Note: After saving, 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: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
 // Add some extra links
 /// SMW Ask
 mw.util.addPortletLink(
 'p-personal',
 '/wiki/Special:Ask',
 'Semantic Search',
 'pt-ask',
 'Special:Ask',
 null,
 '#pt-userpage'
 );
 /// Expand Templates
 mw.util.addPortletLink(
 'p-personal',
 '/wiki/Special:ExpandTemplates',
 'Expand Templates',
 'pt-expand',
 'Special:ExpandTemplates',
 null,
 '#pt-userpage'
 );
  /// Calculators
 mw.util.addPortletLink(
 'p-personal',
 '/wiki/User:Thorsb/Calc',
 'Calculators',
 'pt-calc',
 'User:Thorsb/Calc',
 null,
 '#pt-userpage'
 );
 /// Sandbox
 mw.util.addPortletLink(
 'p-personal',
 '/wiki/User:Thorsb/Sandbox',
 'Sandbox',
 'pt-sandbox',
 'User:Thorsb/Sandbox',
 null,
 '#pt-preferences'
 );
 /// common.js
 mw.util.addPortletLink(
 'p-personal',
 '/wiki/User:Thorsb/common.js',
 'Common.js',
 'pt-js',
 'User:Thorsb/common.js',
 null,
 '#pt-watchlist'
 );
 /// common.css
 mw.util.addPortletLink(
 'p-personal',
 '/wiki/User:Thorsb/common.css',
 'Common.css',
 'pt-css',
 'User:Thorsb/common.css',
 null,
 '#pt-watchlist'
 );