How To Wiki
Advertisement

MediaWiki is the software that powers websites like Wikipedia, Wikia, all Wikimedia foundation projects, and even the MediaWiki.org website. The wiki markup language is designed to be a simpler alternative to HTML.

This article will show you how to add an internal link to another page on the same wiki.

Adding internal links with a specific title[]

Links are added between square brackets - [[ ]]

Simply add [[PAGENAME]] to add a basic link.

For example:

[[How to write a new Howto page on Wikihowto]]

Produces:

How to write a new Howto page on Wikihowto

Adding internal links with a different display text[]

The method above works when the page you're linking to has the same title as the text you wish to display on the page. However, there are times where you want the text that is displayed to differ from the page title.

The process, again, is very simple:

[[NAME OF THE PAGE YOU WANT TO LINK TO|THE TEXT THAT IS DISPLAYED]]

For example:

[[How to write a new Howto page on Wikihowto|How to create a new page!]]

Produces:

How to create a new page!

Tips and tricks[]

  • It is possible to "stagger" internal links. For example, it is possible to add text immediately after an internal link and still have it be part of the link.
    • For example: [[How To]]s produces How Tos, without using the vertical bar.

From How To Wiki

Advertisement