https://bugzilla.wikimedia.org/show_bug.cgi?id=57098

       Web browser: ---
            Bug ID: 57098
           Summary: SpecialPasswordReset when called does not obey an
                    optional returnto parameter [REGRESSION ?]
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: User login and signup
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified
   Mobile Platform: ---

Observed, that the returnto= parameter is ignored. 

https://en.wikipedia.org/w/index.php?title=Special:PasswordReset&returnto=Special:UserLogin

is ignored.


SpecialPasswordReset.php lines 301-316

Perhaps this comes from the missing parameter passing, and simply and always
returning to the Main page in
https://git.wikimedia.org/blob/mediawiki%2Fcore.git/146ea32031dba266831d0f7820f2bc8214f34a58/includes%2Fspecials%2FSpecialPasswordReset.php#L316

    public function onSuccess() {

...
        $this->getOutput()->addWikiMsg( 'passwordreset-emailsent' );
        $this->getOutput()->returnToMain();
    }



I need the PasswordReset with a working returnto for several bugfixes for
E:OpenID.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to