Help:VisualEditor/User guide/Links

"In computing, a hyperlink, or simply a link, is a reference to data that the reader can directly follow either by clicking, tapping, or hovering. A hyperlink points to a whole document or to a specific element within a document."Link is one of the most basic elements used on wikis. It links text to other page, website or resource.

How to create a link is detailed on the visual editor main documentation. The following documentation details how to create all types of links.

Link types
There are few types of link available to use on MediaWiki.

Internal link
This hyperlink is the most basic type of link. It links to other page on the same wiki.

You can insert this link by : For the last 3 cases, a small window will pop up in which you can search for the page you want to create a link to.
 * pasting page's name inside double square brackets in the editor:.
 * typing two opening square brackets
 * press "Link" option in the menu
 * hit ctrl+ K

For advanced usage, read Help:Links.

External link
External links link to the outside of the wiki. To create this type of link, you have few options:
 * In the Link popup open External link tab, then type the URL for the link. You can add a label for this link by clicking on that link again, clicking Edit, and Add label.
 * Specify URL just inside the content of the page:.
 * Many other options, Help:Links

Interwiki link
Sometimes also called interproject link. It's a link similar to the internal one, but leads to other wiki, for example from MediaWiki to Meta Wikimedia.

To create such a link, insert syntax of the internal link in the Link popup, but prefixed with the interwiki:.

List of interwiki prefixes can be found here.

Interlanguage link
This is a link that leads to page inside the current wiki (or other interwiki) but in other language.

To create an interlanguage link from a Wikipedia to another, type language code followed by colon followed by page's name in Link popup:.

Interlanguage and interwiki link combined
If you want to link to any interwiki page to another project in other language, type at the beginning of the link: Example:.
 * 1) the interwiki prefix followed by a colon
 * 2) the language prefix followed by a colon ￼
 * 3) the page title

Resource link types
There are few types of links that lead to specific resources, not pages nor external entities.

Category link
To create a link to certain category, type the category name prefixed by Category keyword and colon in the Link popup:.

Wikitext users may notice that the colon required by wikitext is not required on the visual editor. The visual editor automatically adds the colon to the wikitext.

File link
To create a link to certain file, type the category name prefixed by File keyword and colon in the Link popup (like in the category link):.

Wikitext users may notice that the colon required by wikitext is not required on the visual editor. The visual editor automatically adds the colon to the wikitext.

Read more

 * advanced usage of following links