2

I have set up a media wiki on our dev server for our developers to use. I hope to see it as a repository of random nuggets of information and research that various people have done.

The Main page of Media Wiki isn't really that useful, as the default front page. Is it possible to make the 'All pages' special page as the default page of the wiki?

What I mean by that is that whenever visits the wiki, without specifying a specific page, they should see the 'All pages' special page instead of the 'Main Page' .

5
  • 1
    This is probably better suited for the Webmasters SE as it's about help with your own website, not a Web App. Commented May 31, 2013 at 8:46
  • @AndrewLott: If the mods think this question belongs on Webmasters.SE, I would not mind it being migrated there. I posted the question here, since there are 69 questions tagged media-wiki here, and only 56 question with that tag on webmasters.se. Commented May 31, 2013 at 9:18
  • The problem is that Media Wiki is a self-hosted solution, so by definition should be off-topic here. It's likely that those other questions need to be closed too.
    – ale
    Commented May 31, 2013 at 12:31
  • 2
    @AlEverett - self hosting is irrelevant if the question is about the usage of media wiki rather than the installation. I'd say this is on topic.
    – ChrisF
    Commented May 31, 2013 at 14:37
  • @ChrisF: Fair enough.
    – ale
    Commented May 31, 2013 at 15:03

2 Answers 2

8

You can transclude Special:AllPages: {{Special:AllPages}}. On my tiny testing wiki, that displays a table with all pages on the wiki.

3
  • Maybe by brain has gone for a holiday or something, but I cannot understand what you mean by: "You can transclude Special:AllPages: {{Special:AllPages}}" Commented May 31, 2013 at 11:10
  • @DevdattaTengshe Just write the code {{Special:AllPages}} into your main page, just as if Special:AllPages was a template you were transcluding.
    – svick
    Commented May 31, 2013 at 11:12
  • 1
    Awsome! With your link, and this FAQ: mediawiki.org/wiki/… I could change the page. Thanks! Commented May 31, 2013 at 11:16
4

You can change the contents of "MediaWiki:Mainpage" to contain the text "Special:AllPages". Whenever users click on the "Main page" link on the sidebar, the logo or accessing your wiki's domain name, you will be immediately directed to the special page.

The advantage of this is that they see "All pages" as the page title and not "Main Page".

2
  • A disadvantage of this is that you can't have anything else on the main page then. If you use transclusion instead, you can have some welcome text there, or something like that, in addition to the list of all pages.
    – svick
    Commented Jun 4, 2013 at 14:26
  • @svick Yep, that is true, though in my opinion transcluding a special page sometimes suck.
    – Hydra
    Commented Jun 4, 2013 at 14:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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