Skip to content

Support installation as MediaWiki userscript #226

@lahwaacz

Description

@lahwaacz

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions