[Mediawiki-l] Use Special:UserLogin as Main Page

Rob Church robchur at gmail.com
Mon Jul 30 21:44:04 UTC 2007


On 30/07/07, Jim Wilson <wilson.jim.r at gmail.com> wrote:
> I'd probably take it in this direction:

Just for shits 'n giggles, here's a third take on it -
http://wiki.anubite.co.uk/snippets/SpecialMain - files renamed to .txt
to avoid web server incompetence.

Set $wgRealMainPage to the title of the main page, and edit
MediaWiki:Mainpage, changing it to "Special:Main".

Note that in both the previous examples, the constructor has an
invalid name, and use of exit() is a bad idea.


Rob Church



More information about the MediaWiki-l mailing list