
If your wiki has other language versions, you may find interlanguage links in the sidebar, just below toolbox in a section titled “in other languages.” You can edit the interwiki table on your site. Your wiki may have a Special:Interwiki page listing the interwiki prefixes it supports here is the default interwiki list. More details are at Manual:Interwiki and m:Help:Interwiki linking. ] is the link big yellow flower and ] is the link Sunflower.īasically, interwiki links are abbreviations for commonly-used longer external links. Similar to internal page links, you can create piped links, with alternate link label, e.g. ( It may not work if the admin of your wiki has changed the setting.) Unlike internal links, interwiki links do not use page existence detection, so an interwiki link will appear blue even if the page does not exist on the remote wiki. This works because by default MediaWiki configures wikipedia: as an "interwiki prefix" that turns into when used inside ]. Interwiki links are internal-style links to other websites (which do not have to be wikis, despite the name).įor example, you can link to the article by typing ] or, on this wiki, the shorter ].īoth will result in a link wikipedia:Sunflower.

The plainlinks class can be used in cases where you want an external link to look like an internal one, by suppressing the icon that normally appears after it. See also Help:Magic_words#URL_data and External links above.Įxternal link to the current page's edit page, and styled to look like an internal link To add a link to a page on the same wiki using URL query parameters, you may need to use external link syntax.Įxternal link to the current page's edit page Mailto named with subject line and info]Īny URI you wish to add needs to be first declared through $wgUrlProtocols. See also: URL encoded page names, Manual:PAGENAMEE encoding Using " //en." by itself does not result in a link.Įxternal link to other host passing the pagename This is only supported inside of square brackets.

The link will be HTTP or HTTPS depending on the protocol of the page currently being viewed (which could be different for different users).

URLs beginning with " and " are automatically linked, even when no brackets are used. Multiple links of this type on the same page are numbered sequentially. This is what happens if you omit the link text. It may be a different color and/or be followed by an arrow icon to show that it may lead to another site. When you save or preview the page, you will see a link rendered slightly differently than an internal wikilink. To create an external link, usually to a page at a different website, enclose the URL followed by space and the link text in single square brackets (see examples below). Should be the first and only line on the page. See also the comments in the previous item. The default (in the first example above) is to show the changes from the previous revision. MediaWiki uses the pagelinks database table to keep track of internal wikilinks. If you're trying to create a wikilink to the current page, you probably want to link to a specific section or to an anchor within the page see the examples below. If the page title you are linking to is that of the page you are editing, the result is not a hyperlink at all but simply bold text (for example, on this page the markup ] gives the result Help:Links).
Inpage links how to#
Spaces in the page title may be represented as underscores (so How to contribute and How_to_contribute are again equivalent), but using underscores in links will make them visible in the page text (but this can be prevented by using a "pipe"). However, the case of every subsequent letter must match the target page exactly (so How to contribute and How To Contribute are not equivalent).

The first letter of the link target is usually not case-sensitive (unless the wiki is configured otherwise), meaning links can be capitalized or not (so How to contribute and how to contribute are equivalent). To markup any arbitrary string of text (not necessarily a page title) as a link, use a "vertical bar" or "pipe" character, like this: ] results in the link category links. Note that the colors could be different if the color scheme of the wiki has been changed from the default.įollowing such a "redlink" to a missing page (whether or not it is actually red) will usually enable the user to create the page. If the page exists the link is displayed in blue (like the word "create" in the first sentence of this paragraph) if the page does not exist, the link appears red (so the ] link is actually rendered like this). When you preview or save your changes, you will see a link that can be followed to the target page. To create a so-called internal link to a page on the same wiki (a "wikilink"), use double square brackets wiki markup, ].
