* Pass directly the title object to OutputPage::returnToMain() so it doesn't need...
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Tue, 15 Apr 2008 16:18:08 +0000 (16:18 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Tue, 15 Apr 2008 16:18:08 +0000 (16:18 +0000)
* Added UserArrayFromResult class to AutoLoader, CentralAuth was throwing an error because it couldn't find that class

includes/AutoLoader.php
includes/SpecialConfirmemail.php

index 1215b60..3d43865 100644 (file)
@@ -267,6 +267,7 @@ function __autoload($className) {
                'UploadFormMogile' => 'includes/SpecialUploadMogile.php',
                'User' => 'includes/User.php',
                'UserArray' => 'includes/UserArray.php',
+               'UserArrayFromResult' => 'includes/UserArray.php',
                'UserMailer' => 'includes/UserMailer.php',
                'UserrightsPage' => 'includes/SpecialUserrights.php',
                'UserRightsProxy' => 'includes/UserRightsProxy.php',
index d26876a..91d41f5 100644 (file)
@@ -90,7 +90,7 @@ class EmailConfirmation extends UnlistedSpecialPage {
                        $wgOut->addWikiMsg( $message );
                        if( !$wgUser->isLoggedIn() ) {
                                $title = SpecialPage::getTitleFor( 'Userlogin' );
-                               $wgOut->returnToMain( true, $title->getPrefixedText() );
+                               $wgOut->returnToMain( true, $title );
                        }
                } else {
                        $wgOut->addWikiMsg( 'confirmemail_invalid' );