On 28/07/07, Jason Spirko <jspirko(a)xorantech.com> wrote:
The only problem with this method (changing
Mediawiki:Mainpage) is once a
user logs in they are taken back to the Special:UserLogin page, not the Main
Page. Is there anyway to accomplish this and redirect back to the Main Page?
The approach I'd use for this is to write a quickie special page
extension which checks to see if the user is logged in, and if so,
issues a redirect to the "actual" main page, otherwise, redirects to
Special:Userlogin, with a "returnto" value that is the title of this
main page.
A more adventurous approach might be to hack Title::newMainPage() to
do the check.
Rob Church