Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support installation as MediaWiki userscript #226

Open
3 tasks
lahwaacz opened this issue Aug 3, 2016 · 1 comment
Open
3 tasks

Support installation as MediaWiki userscript #226

lahwaacz opened this issue Aug 3, 2016 · 1 comment

Comments

@lahwaacz
Copy link
Contributor

lahwaacz commented Aug 3, 2016

Let this be the MediaWiki userscript support meta-issue 😆

The standalone version actually works, but...

  • Userscripts are not loaded on Special:Preferences for security reasons, so the configuration does not work 😢
    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.
@kynikos
Copy link
Owner

kynikos commented Aug 3, 2016

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 kynikos added this to the 2.1.0 milestone Aug 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants