User:Chonx/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)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* ============================================================
This is ALL that goes in User:Chonx/common.js
------------------------------------------------------------
It loads the real module RAW (action=raw = NOT minified), which
avoids the ResourceLoader minifier that breaks the pasted-inline
version. Bonus: to iterate you now only edit the module page and
hard-refresh — no re-pasting this loader.
Put the full ext.itemScoreTable.js contents in:
User:Chonx/eqlItemScore.js
============================================================ */
mw.loader.load(
mw.config.get( 'wgScript' ) +
'?title=User:Chonx/eqlItemScore.js&action=raw&ctype=text/javascript'
);