InMotion Hosting Support Center

After you learn how to create and edit pages in MediaWiki, you will want to add and format the content in your wiki site. This article is not an exhaustive resource for formatting content in MediaWiki and will only touch on the basic functions like bold, headline, and numbering the text.

Wiki format editing functions

Editing a MediaWiki site is much different than your standard CMS program. Wiki code is designed specifically to use special characters format text in the content. The following section will explain the formatting options available in MediaWiki and what their functions are.

  1. Log into MediaWiki
  2. Default main page in MediaWikiClick the Main Page link.

    The Default Main Page will look like the snapshot to the right.

    Clicking the edit button will load the Edit capabilities. Click Edit.

    The following table will explain what code and what each formatting option is used for.

    MediaWiki Formatting Options
    Bold Bold Text button in MediaWikiBolds text.
    Code syntax:
    '''Bold text'''
    Italic Italics buton in MediaWikiMakes Text Italic.
    Code syntax:
    ''Italic text''
    Internal Link Internal page link MediaWikiCreates pages and links to internal pages.
    Code syntax:
    [[Link title]]
    External link External link button MediaWikiExternal Link. Must contain the http:// prefix.
    Code syntax:
    [ link title]
    Level 2 Headline Headline button in MediaWikiSeparates sections and labels as a Header.
    Code syntax:
    == Headline text ==
    Ignore Wiki Formatting No Wiki Code in MediaWikiNegates any code that may contain Wiki formatting.
    Code syntax:
    <nowiki>Insert non-formatted text here</nowiki>
    Signature Signature button in MediaWikiAdds Your signature with timestamp to your talk.
    Code syntax:
    Horizontal line Horizontal rule in MediaWikiAdds a Horizontal line to separate content MediaWiki says to use this sparingly.
    Code syntax:

Bolding and Headlining text in MediaWiki

  1. Log into MediaWiki.
  2. Select the page you want to add content to or create a new page and edit the content.
  3. Headline format in mediawikiEnter text for the headline. Highlight the text and click the Level 2 Headlineicon.

    MediaWiki will render that text as a headline.

  4. Bolding Text in MediaWikiAdd text and highlight text to make the text bold. Click the Bold Iconin the editor.

    This text will now be bolded.

    Code sample of bold and headline MediaWikiThe code for the bold and headline will look like the image to the right.

    Bold and HEadline preview in MediaWikiThe view the user will see looks like the snapshot to the right.

How to make a numbered list

  1. Log into MediaWiki and select the page to add the numbered list to.
  2. Code view of the ordered list in MediaWIkiMediaWiki does not have a bulleted or numbered list code in the editor so the HTML code will need to be used. Add the following code to your page.

    For a numbered list add the following:


    For a bulleted list add the following:


    Just change the First, Second, Third, etc. with your bulleted or numbered points.

  3. The numbered list for the users view MediaWikiSave the page and the numbered list will look like the snapshot to the right..

How to create subsections in a wiki page

  1. Log into MediaWiki and navigate to the page you want to add a subsection to.
  2. Adding a section in a MediaWiki pageEnter the text for your subsection and apply the Level 2 Heading to it.

    Add text below the second header you created for the subsection.

  3. Section in MediaWiki page previewSave the page and you will see a second section with sub content in the page.

    See image to the right.

Was this article helpful?
Continued Education in Course 102: Adding content to MediaWiki
You are viewing Section 6: How to format content in MediaWiki
Section 5: Adding and removing redirects in MediaWiki

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Forum Login

You are NOT logged in. You can still browse our Support Center.

To participate within our Community Support Forum:

n/a Points
2018-11-26 5:53 am


3,856 Points
2018-11-26 12:58 pm
Thank you for your feedback!
n/a Points
2014-07-23 5:26 am

I'm web developer, i want share code PHP, HTML, CSS. I want the source code contained is a block content. Ex: <code>.......</code>

31,595 Points
2014-07-23 9:26 am
Hello share code,

Thank you for contacting us today. In Mediawiki, you can add code formatting by using the nowiki tag.

Mediawiki's formatting page, advises it is "good for copying in code blocks".

If you just want to share code with others from our site, I recommend submitting a guide in our User Submitted Articles section.

Adding a Code block to a User Submitted Article

  1. Highlight the text
  2. Formats >> inline >> code
If you have any further questions, feel free to post them below.
Thank you,


Post a Comment

Email Address:
Phone Number:

Please note: Your name and comment will be displayed, but we will not show your email address.

4 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!