wiki-monkey
wiki-monkey copied to clipboard
Support installation as MediaWiki userscript
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 incommon.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.
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