r59807 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r59806‎ | r59807 | r59808 >
Date:23:10, 7 December 2009
Author:sergeychernyshev
Status:deferred
Tags:
Comment:
Applied patch for dropped returnto in $wgOpenIDOnly case (bug 21661)
Modified paths:
  • /trunk/extensions/OpenID/OpenID.hooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/OpenID/OpenID.hooks.php
@@ -5,7 +5,7 @@
66 global $wgOpenIDOnly, $wgOpenIDClientOnly;
77
88 if ( $wgOpenIDOnly ) {
9 - $list['Userlogin'] = array( 'SpecialRedirectToSpecial', 'Userlogin', 'OpenIDLogin' );
 9+ $list['Userlogin'] = array( 'SpecialRedirectToSpecial', 'Userlogin', 'OpenIDLogin', false, array('returnto') );
1010 # Used in 1.12.x and above
1111 $list['CreateAccount'] = array( 'SpecialRedirectToSpecial', 'CreateAccount', 'OpenIDLogin' );
1212 }

Follow-up revisions

RevisionCommit summaryAuthorDate
r60239Follow-up r59807: let's also use the "returntoquery" parameterialex14:57, 20 December 2009

Status & tagging log