User:Naypta/ScriptInstaller

From Wikipedia, the free encyclopedia
The script listing page shows the scripts you installed using this tool, along with uninstall links.
The script listing page, along with all .js pages, will now include install links.
Just click 'em. It really couldn't be simpler.
This is the documentation page for the ScriptInstaller.js user script.

Script Installer provides simple automatic installs and uninstalls of Wikipedia customizations (user scripts) directly from the script listing page, each with just a single click.

I forked Equazcion's ScriptInstaller script because it had stopped working as of May 2020, due to the changes made to the way that the MediaWiki API operates.

The forked version works exactly the same as Equazcion's original did, it's just fixed - there are no other differences (yet!)

I'm happy to take feature requests on this talk page.

Usage[edit]

importScript('User:Naypta/ScriptInstaller.js'); // Backlink: [[User:Naypta/ScriptInstaller.js]]
  • Press Ctrl F5
  • Head to Wikipedia:User scripts/List.
  • That's it! Start clicking install links =]

Automated installations[edit]

  • Click the "Install" link next to a script's name in order to install it. Simple.
  • After doing that once, a list of your installed scripts displays at the top of the page (see image, up there ).

Automated un-installations[edit]

  • Each installed script listed has its own "Uninstall" link. Click it to uninstall. Again, simple.
  • Only scripts that were installed using ScriptInstaller will show up in this list, and only those can be uninstalled via this interface.