User:BoxOfNotes/sugarcube
Appearance

sugarcube.js
A user script which adds more tools to wikipedia.
Add the script
- Go to the page
User:(your username)/common.js
(for example, for the user Example, it would beUser:Example/common.js
) - Add this to the top of the page (create it if you haven't yet):
mw.loader.load("/w/index.php?title=User:BoxOfNotes/sugarcube.js&action=raw&ctype=text/javascript");
- Reload the page and there should be some buttons on the top left (next to the wikipedia logo). If not, go here and click Yes to purge the cache.
Note that the script currently only works on the english wikipedia (the wiki you're on right now).
View the code: User:BoxOfNotes/sugarcube.js
Created and maintained by User:BoxOfNotes.
How to use
Preferences are at Special:Sugarcube (only works if you have added the script).
All features:
- Extra tools (
tools
) - adds 3 buttons at the top left that open a dropdown. (only 2 are added and none of them work) - No "From Wikipedia, the free encyclopedia" (
noSiteSub
) - only a little minor change. - Title icon (
titleIcon
) - adds a small icon of your choice in front of all page titles.
Bugs and compatibility
- On Special:Sugarcube, the tab title still displays that the special page doesn't exist
Report me more bugs if you found some
Website | Theme | Mode | Works? |
---|---|---|---|
en.wikipedia.org | Vector legacy | Desktop | Tested, works |
en.wikipedia.org | Vector new | Desktop | Tested, tools doesn't work, sugarcube button in user options doesn't have icon
|