User:Bradv/Scripts/Superlinks
Author(s) | bradv🍁 |
---|---|
Status | Stable |
First released | September 24, 2018 |
Updated | May 29, 2020 |
Browsers | All modern browsers |
Skins | Vector |
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.
Installation
editAdd {{subst:iusc|User:Bradv/Scripts/Superlinks.js}}
to Special:MyPage/common.js or Special:MyPage/vector.js.
Features
editThe 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
edit- 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
edit- 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
editIf the current page is in userspace, an additional section for the relevant user is displayed:
- Contribs: The user's contributions.
- Deleted: The users's deleted contributions (sysop only).
- Actions: Log of actions performed by the user.
- Filter: The abuse filter log for the user.
- Rights: User groups log.
- Blocks: The user's block log.
- DS Alerts: Display all {{ds/alert}} notices left for the user, as triggered by edit filter 602.
- Restrictions: Display search results from Editing restrictions and Arbitration enforcement log.
Flowcharts
editIf the current page is a new page or a draft currently submitted for review, one of the following is displayed:
Other features
edit- 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
editIssues, comments, thanks, bug reports, or other kinds of feedback are welcome at User talk:Bradv/Scripts/Superlinks.
Notes
edit- 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.