

The wikilinks syntax also includes various formatting-options to control how a link and its visible text appear. Inter-page "intra" links: Links of the form ] link to the matching section of the matching page, see section linking.Intra-page links: Links of the form ] link to the first section on that same page, that has a heading (or anchor - see below) which exactly matches that "link_name".Inter-page links: Links of the form ] link to the page that exactly matches that "page_name".The link target can be another page on the wiki, a section on the same page as the link, or a section on another page on the wiki. The link target is the sequence of characters immediately following the first bracket pair until pipe '|' or the opposing bracket pair ']]' is encountered (read from left to right). MediaWiki defines a wikilink as a closed set of inward facing square bracket pairs ']'. Also, through "What links here" applied to the non-existing page they provide indirect links to other pages with the same red link.Ī link to a non-existing page in the MediaWiki namespace for an existing system message counts as a link to an existing page. "Red links" are useful in determining the current status of the page (created or not created), create links to future pages, and facilitate and encourage creation of new pages. Such wikilinks are nicknamed "red links" because they are colored red in the default stylesheet on a default installation of MediaWiki. If the page doesn't exist, the link leads instead to the editing screen, and it is assigned the class "new". MediaWiki automatically checks if the target of a wikilink exists (" existence detection"). A wikilink is an internal link to another page or page-section within the same wiki.
