Created | 24 September 2018 |
---|---|
Last update | 24 July 2019 |
Author | – bradv🍁 |
Source | User:Bradv/Scripts/Superlinks.js |
Superlinks is a Wikipedia user script designed to allow powerusers to quickly view pages and information related to the page they are currently viewing or editing without the need to navigate away from the page or open large numbers of new tabs.
The script consists of a collection of links at the top right corner of the page, and a popup window that opens over part of the current page when one of the links is clicked. The popup window loads its content on demand via Ajax without affecting the current page, and can be closed by clicking on the close button, clicking again on the link that opened the popup, or by pressing escape.
All content is loaded asynchronously on demand – having the script installed does not affect page load times.
Contents
Installation
Add {{subst:iusc|User:Bradv/Scripts/Superlinks.js}}
to Special:MyPage/common.js or Special:MyPage/vector.js.
Features
The following is the list of links generated by the script. Links to pages that do not exist are not shown, nor are links to the currently displayed page.
Articles
- History: The history of the page.
- Logs: The log of actions performed on the page.
- Filter: The abuse filter log for the page.
- Talk: The current version of the talk page.
While viewing the history of the page, an additional link is displayed, replacing the history link:
- Article: The current version of the page. The title varies depending on the type of page viewed.
Talk
- Article: The current version of the page. The title varies depending on the type of page viewed.
- History: The history of the article page.
- Logs: The log of actions performed on the article page.
- Filter: The abuse filter log for the page.
- Talk: The current version of the talk page (displayed when viewing history only).
- History: The history of the talk page.
- Logs: The log of actions performed on the talk page.
- Filter: The abuse filter log for the talk page.
User pages
If the current page is in userspace, an additional section for the relevant user is displayed:
- Contribs: The user's contributions.
- Actions: Log of actions performed by the user.
- Logs: Log of actions performed on the user or on the current page.
- Filter: The abuse filter log for the user.
- Block log: The user's block log.
- NEW DS Alerts: Display all {{ds/alert}} notices left for the user, as triggered by edit filter 602.
- NEW Restrictions: Display search results from Editing restrictions and Arbitration enforcement log.
Flowcharts
If the current page is a new page or a draft currently submitted for review, one of the following is displayed:
Other features
- At the top of the window, there is a close button. This close feature can also be triggered by clicking on the current tab, or by press escape on the keyboard.
- Next to the close button there is a button which will pop out the current view into a new tab in your browser.
Issues
Issues, comments, thanks, bug reports, or other kinds of feedback are welcome at User talk:Bradv/Scripts/Superlinks.
Notes
- Superlinks only works with the Vector skin. It may be possible to extend it to other skins – leave a request on the talk page.
- Superlinks is tested on Chrome, Firefox, and Edge.