Web Applications Stack Exchange is a question and answer site for power users of web applications. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I tried to change the title of the main page of a MediaWiki-powered website from "Main Page" to "My Unique Title," via adding this snippet into Wiki-code for the main page.

{{DISPLAYTITLE: My Unique Title}}

However, it does nothing. How do I change the title of the main page of a MediaWiki-powered website?

share|improve this question
up vote 5 down vote accepted

If you want to use {{DISPLAYTITLE:}} to change a display title completely (as in, not just different capitalization), you'll need to make a change in LocalSettings.php.

Set [$wgRestrictDisplayTitle][1] to false.

Additionally, if you're looking to change where the main page resides, you can change [[MediaWiki:Mainpage]] to change the default main page users are sent to.

share|improve this answer

Try this: your-wiki-address/w/index.php?title=MediaWiki:Pagetitle-view-mainpage

share|improve this answer

We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.