User script
MyLinks
A screenshot of the Wikipedia main page with the MyLinks script installed (see left sidebar).
DescriptionAdds "MyLinks" to the sidebar, where you can add links to pages that you frequently visit, like the Village pump or the administrators' noticeboard.
Author(s)Awesome Aasim
StatusStable
First releasedApril 20, 2020; 4 years ago (2020-04-20)
UpdatedJune 1, 2021
    (3 years ago)
BrowsersAll
SkinsAll
SourceUser:Awesome Aasim/addmylinks.js

MyLinks is a script that adds a customizable area for links and/or text to the sidebar. This works on Vector, Monobook, Modern, and Timeless skins.

The name comes from the wikiHow feature where you could add a customizable sidebar called "MyLinks" that will only appear on your sidebar.

Installation

edit

Add

{{subst:iusc|User:Awesome Aasim/addmylinks.js}}

to your common.js file. This will add MyLinks to Wikipedia only.

To add mylinks to all Wikimedia projects:

mw.loader.load("//en.wikipedia.org/w/index.php?title=User:Awesome_Aasim/addmylinks.js&action=raw&ctype=text/javascript");

on global.js.

Configuration

edit

The first time you add MyLinks, you will have to configure it. For global use, MyLinks has to be configured on a per-wiki basis. To do so, click on the [Create] button next to "My Links" on the wiki to configure. This will open an edit form where you can create your MyLinks page for the first time. You can use wikitext to create links and lists, like * [[Link]] for a bulleted link. You can also add level 3 and higher headers to your MyLinks, although levels 1-2 are not supported right now. You can also visit this page to access your "My Links" page.

After configuration, you can edit "MyLinks" by clicking on [Edit] next to "My Links". This will open the sidebar "edit" form. You will be able to preview and save your MyLinks edit quickly from the sidebar.

edit

You can use this as a starter to get to understand MyLinks.

Somereminder
* [[Page1]]
* [[Page2]]
* [[Page3]]
=== Group 1 ===
* [[Page4]]
* [[Page5]]
* [[Page6]]
Some more text
==== Group 1.1 ====
* [[Page7]]
===== Group 1.1.1 =====
* [[Page8]]
====== Group 1.1.1 ======
* [[Page9]]