Jump to content

User:BrandonXLF/PortletLinks

From Wikipedia, the free encyclopedia
< BrandonXLF's scripts |
Portlet Link Manager
DescriptionUtility to create/manage/remove custom portlet links
Portlet Link Manager is a utility to create, manage, and remove custom portlet links. It allows you to add portlet links without using JavaScript in an easy, Excel-like editor. Once installed, it can be accessed at Special:BlankPage/PortletManager.
Author(s)User:BrandonXLF
StatusWorking
First releasedMarch 10, 2020
SourcePortletLinks.js (git)
GitHub repositorywikipedia-user-scripts

Portlet Link Manager is a utility to create, manage, and remove custom portlet links. It allows you to add portlet links without using JavaScript in an easy, Excel-like editor. Once installed, it can be accessed at Special:BlankPage/PortletManager.

Installation

importScript('User:BrandonXLF/PortletLinks.js'); // [[User:BrandonXLF/PortletLinks.js]]
  • Alternatively, use the following instead of the above:
mw.loader.load('/w/index.php?title=User:BrandonXLF/PortletLinks.js&action=raw&ctype=text/javascript'); // [[User:BrandonXLF/PortletLinks.js]]
  • To install on other wikis (for instance, globally in your global.js on the Meta-Wiki), use the following code:
mw.loader.load('https://wiki.riteme.site/w/index.php?title=User:BrandonXLF/PortletLinks.js&action=raw&ctype=text/javascript');
  • After installing reload the page and clear your cache

Comments/Bugs

Comments are welcome on my talk page, be sure to indicate that you're talking about this script in the title. I would really like any suggestion to make the script run better.