User:MusikAnimal/MoreMenu
MoreMenu.js | |
---|---|
File:Screenshot of MoreMenu script.png | |
Description | Useful links to common tasks, user and page analytic tools and logs |
Author | MusikAnimal, Haza-w |
Status | Stable |
Version | 4.2.5 |
Updated | September 23, 2015 |
Browser support | Any modern browser or IE8+ |
Skin support | Vector, Drop-down menus for Monobook and Modern |
Source | User:MusikAnimal/MoreMenu.js |
MoreMenu is a script that adds page (and, if applicable, user) drop-down menus to the toolbar. It is a rewrite and expansion of Haza-w's Drop-down menus gadget and heavily based on it. Currently only the vector skin is supported, but for non-vector skins the original Drop-down menus is sourced.
Overview
This gadget adds up to two drop-down menus to the menu bar containing links to useful common tasks, user/page logs, analytic tools/statistics, and tools for administrators. For all but special pages the Page menu is visible. Similarly the User menu is visible only on pages pertaining to a user, including contributions pages.
Some links are only available to users with certain rights (sysop for the block link, user creation log for account creators, etc). Some links are also visible only in certain namespaces, namely the Tools menu under Page.
In it's default state, hovering over the links will produce the following menus:
| style="width:50%; text-align:left; vertical-align:top;" |
User
- User logs… (Logs of actions the user has taken)
- All logs
- Block log (sysop)
- Deletion log (sysop)
- Filter log
- Mass message log (massmessage-sender)
- Move log
- Pending changes log (sysop)
- Protection log (sysop)
- Review log (reviewer, sysop)
- Thanks log
- Upload log
- User creation log (accountcreator, sysop)
- User rights log (sysops)
- RfX's…
- RfAs (Request for Adminship)
- RfBs (Request for Bureaucratsip)
- RfAr (Request for arbitration)
- RfC (Request for comment)
- CCI (Contributor copyright investigations)
- SPI (Sockpuppet investigations, as sockmaster)
- Blocks…
- Analysis
- Analysis – Supercount (cyberpower678 on labs)
- Analysis – Wikichecker (wikichcker, only enwiki, jawiki, frwiki and ruwiki)
- Analysis – XTools (xtools)
- Articles created (xtools)
- Autoblocks (xtools)
- Edit summary usage (xtools)
- Edit summary search (Σ on labs)
- Global contributions (luxo on labs)
- SUL
- IP lookup (anonymous users only)
- WHOIS (domaintools.com)
- rDNS (robtex.com)
- Traceroute (domaintools.com)
- Geolocate (whatismyipaddress.com)
- Change rights (sysop)
- Checkuser (checkuser)
- Contributions
- Deleted contributions (sysop)
- Suppressed contributions (oversight)
- Email user
- Uploads
- User groups
- User rights changes
- User subpages
- User thanks received
| style="width:50%; text-align:left; vertical-align:top;" |
Page
- Page logs…
- All logs
- Deletion log
- Move log
- Pending changes log
- Protection log
- Analysis
- Analysis – WikiChecker (wikichecker, only enwiki, jawiki, frwiki and ruwiki)
- Analysis – XTools (xtools)
- Basic statistics
- Search by contributor (Scottywong, Σ on labs)
- Search revision history wikiblame
- Traffic report (stats
.grok .se, wikipedias only) - Transclusions
- Tools
- Check external links (dispenser, wikipedias only)
- Check redirects(dispenser, wikipedias only)
- Copyright vio detector (Earwig on labs)
- Disambiguate links (dispenser, wikipedias only)
- Expand bare references (Zhaofeng Li on labs)
- Peer reviewer (dispenser, wikipedias only)
- XfDs (if page has been nominated for AfD or Mfd in the past)
- (Un)Delete page (sysop)
- Edit intro (hidden if Gadget-edittop is enabled)
- Latest diff
- Merge page (sysop)
- Move page
- Protect page (sysop, reads as "Change protection" if page is already protected)
- Purge cache
- Subpages
Some menu items in the user menu appear based on conditions of that user, such as their user groups, or if they've have a current or previous blocks, etc. For an example, the RfX submenu lists only items that have been opened on the user. If no RfX has been opened on the user the RfX menu will be hidden altogether. Similarly the block log item in the Blocks submenu only appears if that user has been blocked in the past.
Setup
Installation
- en.wikipedia.org
The easiest way to install the script is to enable it as a gadget: go to your gadget preferences and check the MoreMenu, adds Page and User dropdown menus to the toolbar... entry under Appearance and hit save.
Alternatively you can source the script directly by adding the following to your common.js:
{{subst:iusc|User:MusikAnimal/MoreMenu.js}}
- Other WMF wikis
If installing the tool to your account on another Wikimedia Foundation wiki, then add the following to your personal JS:
// Linkback: [[User:MusikAnimal/MoreMenu]] importScriptURI('https://en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:MusikAnimal/MoreMenu.js');
You can add this script to all WMF wikis by adding the above to your global.js on MetaWiki, located at meta:Special:MyPage/global.js
FAQ
- What happened to Haza-w's drop-down menu gadget?
- It's still here. This one is just an updated version for the Vector skin, with a lots of extra links. Non-vector skin users will still see Haza-w's.
- Why aren't other skins supported?
- Other skins don't play as nice with this type of menu functionality. To outlay the links in a horizontal list (such as with Twinkle) would require a significant amount of space since there's so many links. Instead Haza-w's drop-down menus is sourced for non-vector skins.
Special thanks
To Technical 13 and Callanecc for their tremendous help.
Bugs/feature requests
Ask/request anything you'd like on the talk page.