User:Naypta/ScriptInstaller
Appearance
- 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]- Log in or register.
- Copy the line below, click here, paste the line at the bottom, and hit save.
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.
Technical notes |
---|
Use {{userscript}} on any page where you'd like to enable a Script Installer-compatible script link. This will provide an automated install link to anyone who uses Script Installer. |
All installations are done via users' common.js pages. |
Only scripts that reside on the English Wikipedia, and in User: or Wikipedia: space, can be installed using this tool. |
Automatic un-installation of a particular script will only be possible if you haven't manually edited the common.js line containing that script. |