# MediaWiki Notes

Jump to navigationJump to search

This page is for my notes on MediaWiki. Much of the content can be found in the book MediaWiki by Daniel J. Barrett

## Namespaces

Namespaces determine the type of content. The Help namespace leads to help pages, which are either the defaults that come with MediaWiki or customized by the users. The Talk namespace takes users to the discussion page of any particular source, depending on how it is typed in the search field.

User talk:UserName


will lead to the talk page of a particular user.

The Category namespace goes to or creates categories, which can be used to organize content, much like how I organized the wiki.

Other Namespaces exists, so these are just a few of them.

## Links

Just like webpages in HTML, there are three different kinds of links.

Links can be one of the following

• internal links
• external links
• Graphical Links

Just like many other types of websites, it is not advisable to make everything a link.

For sensible advice on when to create links, visit either of the following:

### Internal Links

Internal links in MediaWiki go to other entries on the wiki.

[[Article Name]]

Creates a link to a wiki entry on the server with the name of the article as the link's text.

[[Article Name | Link Text]]

Like the former, it creates a link to a wiki entry on the server, but the link text will be whatever is specified.

#### Anchor Links

Another are type of internal links, but also applies to external links, depending on how it is used, are anchor links. Just like HTML, these are preceded by a symbol. In fact, the symbols are exactly the same. These kind of links go to either a section of the current wiki article or a section of an external wiki article.

[[#Heading Name]]

This example creates a link to section in the currently viewed article.

[[Article#Heading Name]]

This example creates a link to section of another wiki article on the wiki.