wiki-monkey icon indicating copy to clipboard operation
wiki-monkey copied to clipboard

Support installation as MediaWiki userscript

Open lahwaacz opened this issue 8 years ago • 1 comments

Let this be the MediaWiki userscript support meta-issue :laughing:

The standalone version actually works, but...

  • [ ] Userscripts are not loaded on Special:Preferences for security reasons, so the configuration does not work :cry:
    But custom settings could logically be set directly in common.js before loading the Wiki Monkey script.
  • [ ] jQuery is already (and always) loaded by MediaWiki, so it does not have to be put in the bundle.
  • [ ] The top-level check if (location.href.match(/^https:\/\/wiki\.archlinux\.org/i)) { ... } is useless for a MediaWiki userscript and hinders testing on localhost.

lahwaacz avatar Aug 03 '16 17:08 lahwaacz

Thanks for testing it! I'm translating the whole project to CoffeeScript, which should make the application more flexible and modular, eventually making it easier to support different installation methods. Points 2 and 3 should be easy to implement, point 1 a little less, but still nothing major, I hope.

Slightly related: #163

kynikos avatar Aug 03 '16 22:08 kynikos