Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

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

2 Answers 2

up vote 4 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

 
discard

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.