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 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' .

share|improve this question
1  
This is probably better suited for the Webmasters SE as it's about help with your own website, not a Web App. –  Andrew Lott May 31 '13 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. –  Devdatta Tengshe May 31 '13 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. –  Al E. May 31 '13 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 May 31 '13 at 14:37
    
@ChrisF: Fair enough. –  Al E. May 31 '13 at 15:03
add comment

2 Answers

up vote 6 down vote accepted

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

share|improve this answer
    
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}}" –  Devdatta Tengshe May 31 '13 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 May 31 '13 at 11:12
1  
Awsome! With your link, and this FAQ: mediawiki.org/wiki/… I could change the page. Thanks! –  Devdatta Tengshe May 31 '13 at 11:16
add comment

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".

share|improve this answer
    
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 Jun 4 '13 at 14:26
    
@svick Yep, that is true, though in my opinion transcluding a special page sometimes suck. –  Hydra Jun 4 '13 at 14:31
add comment

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.