Resources     Blog  

  1. Home
  2. MediaWiki Tutorials
  3. How to Create a MediaWiki Page

How to Create a MediaWiki Page

Are you interested in creating your very own MediaWiki page? Luckily, doing so is a pretty simple task. MediaWiki works differently than other CMS because of the way it is used and this, of course, means that page creation is unique as well.

However, since there is a wiki page for just about everything nowadays, the process has been simplified considerably from the early days. This means that just about anyone can do it.

Today, I will demonstrate how to create a MediaWiki page using three methods.

How Creating a MediaWiki Page Works

It is important to understand that there are multiple ways to create a MediaWiki page.

The first method is the traditional way that pages are created in other CMS platforms, but for MediaWiki, it’s usually a rare event. This includes logging into your MediaWiki website and creating the page. This method will most likely only be used upon installing MediaWiki for the first time to create the main page.

For example, if you wanted to make a Witcher wiki page, you would want to start off with a basic description of the plot, important characters, media forms, reception, etc. The main page will lead visitors to a lot of the other wiki pages on more individual characters or events. It will usually be the page with the most traffic as well.

The second method is to search for a page that does not exist. Upon doing so, you will be prompted to create such a page. This method is great for filling your wiki with lots of content or find where your wiki is lacking in said content.

Continuing with our Witcher example, you would want a page dedicated to just about every single character across the series. So for example, if you searched for Geralt and didn’t turn up a page, you can immediately make one for him.

The third method is to create an internal link. Upon doing so, a page will automatically be created for that specific word. Similar to the second method, this is a great way to fill out your wiki with more pages.

Understanding the different methods for creating MediaWiki pages will speed up the creation process significantly.

Method 1: Manually Creating A Page

This is the method you will use upon installing MediaWiki because you won’t have any pages, with the exception of the “you have successfully installed MediaWiki” page.

You really have two options here. The first is to delete the dummy main page and create a new one or to simply edit the page itself.

To delete the dummy page, click on More and select the “Delete” option.

Delete

Upon doing so, you will be asked why you are deleting the page. You can add a reason if you like, but it is not necessary. Click on the “Delete Page” button.

Delete Page

Upon doing so, the page will be deleted and you will see an Action Complete page. Whenever you delete a page, you will have the  “Create” option appear. Click on “Create”.

Create

Here you will find yourself on the MediaWiki create page area, where you can enter all of the information you want. Click on the “Save Page” button when you are done.

Save Page

This is how you can create the main page of your wiki at the start. You will never see the “Create” option again unless you delete a page. As such, this will not be a popular method, but it is worth mentioning for fresh installs.

For all future MediaWiki page additions, you will use the following methods.

Method 2: Searching For A Page

This method involves searching for a page that doesn’t exist and using the prompt to create such a page. This may sound counter-intuitive, but I assure you it makes perfect sense once you get started.

In the search box, search for the page you wish to create.

Search for Page

As long as the page does not exist already, you should see a “Create the page “example” on this wiki!” message. Click on the “example” to create the page.

In this case, I searched for Geralt, so I will click on Geralt.

Click on Search Term

You will now be able to create a page for that search term. Click on the “Save Page” button when you are done.

Save Page

This method is ideal for filling out your wiki based on what it does not have. Don’t be afraid to create a page and leave it blank for now. It can be a useful reminder to fill it later on.

The third method you should use to create a MediaWiki page is to create an internal link. Doing so will actually create a page for that term. This is because the entire point of a wiki is for it to link internally as a detailed knowledgebase of the subject.

External links should only be used as supporting evidence or where necessary.

To get started, go to an existing wiki page. Once there, click on the “Edit” option.

Edit Page

Adding an internal link is quite easy. To do so, simply surround the word or phrase with double brackets.

So for example, if I wanted to make “Geralt of Rivia” an internal link, I would need to write it as [[Geralt of Rivia]].

Double Brackets

Once you have done so, click on the “Save Changes” button.

Save Changes

Now when you view that page, the internal link you created will be in red text. Click on the internal link.

Red Link

You will now be on the page creation screen. Enter all of the information and click on the “Save Page” button.

Save Page

This method is what I consider the heart and soul of the MediaWiki. What it does is prevent you from having to track down internal links like on other CMS.

For example, if you already have a page called “Geralt of Rivia” when you add the brackets, MediaWiki will automatically link to it if the spelling is the same.

This is meant to help you connect your wiki to itself as fast as possible. Again, the entire point of a wiki is that it is a self-contained knowledgebase.

When Should I use Each Method?

You know have three options to create pages may seem a bit tricky at first, but it isn’t hard once you get used to it.

Method 1 is really meant for when you delete a page. The actual “Create” option won’t be there otherwise.

Method 2 is optimal when you are searching for something and realize a page doesn’t exist.

Method 3 is the bread and butter of MediaWiki. You should be adding tons of internal links and if you think something deserves its own page while writing, just add two brackets. The red text helps you identify why an internal link doesn’t have a page created.

Be As Detailed As Possible

Learning how to create a wiki is not as easy as it seems. Even if you are passionate about the topic, some topics are too vast for one person to cover. Luckily, that’s where your visitors and contributors can help.

The more detailed your wiki is, the better it will perform. Just remember there is no topic or character too obscure for most wiki pages.

Which method do you use to create MediaWiki pages? How do you expand your wiki on a regular basis?

Author: Robert Giaquinto

Robert has been writing tutorials about WordPress and other CMS for over 3 years since joining the GreenGeeks marketing team. Thanks to this, he has had the opportunity to research and master several areas of WordPress including plugin usage, SEO, website design, and social media integration. When he is not creating content for WordPress, Robert is digging up new content ideas for environmental pieces. These range from the pollution in our air to the danger’s wildlife face. And with a bachelor’s degree in electrical engineering, he is always eager to discuss the way our technologies are affecting the environment, especially when it comes to solar energy.

Was this article helpful?

Related Articles

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.