Index: trunk/extensions/OpenID/README.OpenID-mediawiki-extension |
— | — | @@ -1,6 +1,5 @@ |
2 | 2 | MediaWiki OpenID extension README.OpenID-mediawiki-extension file |
3 | | -version 0.933-beta |
4 | | -12 July 2011 |
| 3 | +version 0.934-beta 20110829 |
5 | 4 | |
6 | 5 | Homepage and manual http://www.mediawiki.org/wiki/Extension:OpenID |
7 | 6 | |
— | — | @@ -117,8 +116,8 @@ |
118 | 117 | |
119 | 118 | Download and patch of openid library: |
120 | 119 | |
121 | | - cd $IP/extensions/OpenID |
122 | | - make |
| 120 | + cd $IP/extensions/OpenID |
| 121 | + make |
123 | 122 | |
124 | 123 | The makefile downloads the openid-php library from http://www.openidenabled.com/php-openid/ |
125 | 124 | and applies a patch to avoid PHP errors because Call-time pass-by-reference is deprecated |
— | — | @@ -139,8 +138,8 @@ |
140 | 139 | Run update.php script in in your MediaWiki maintenance folder to conditionally create |
141 | 140 | a new table in MediaWiki database as required by the OpenID extension: |
142 | 141 | |
143 | | - cd $IP/maintenance |
144 | | - php update.php |
| 142 | + cd $IP/maintenance |
| 143 | + php update.php |
145 | 144 | |
146 | 145 | Theoretically it should work out of the box, but you'll almost definitely want |
147 | 146 | to set the trust root and access controls (see Configuration below). |
— | — | @@ -478,10 +477,13 @@ |
479 | 478 | into that account now |
480 | 479 | |
481 | 480 | == CHANGES == |
| 481 | +* 0.934 fixes |
| 482 | + bug 29543 After logging in with OpenID, user page link in the personal toolbar |
| 483 | + pt portlet) still has the User:IP link (needs refresh to link to |
| 484 | + User:Username) |
482 | 485 | * [http://svn.wikimedia.org/viewvc/mediawiki/tags/extensions/OpenID/REL_0_8_4/ 0.8.4] (April 16, 2009) - Added provider buttons to the OpenID login page with optional icons ($wgOpenIDShowProviderIcons) |
483 | 486 | * [http://svn.wikimedia.org/viewvc/mediawiki/tags/extensions/OpenID/REL_0_8_4_1/ 0.8.4.1] (April 16, 2009) - Post-release fix to broken icon on user's page. |
484 | 487 | * 0.9.1 fixes for PHP > 5.3.x; fixed bugs |
485 | 488 | bug 27419 OpenID extension: disallow new account creation for those users without "createaccount" permission |
486 | 489 | bug 27581 3 new OpenID login page parameters: $wgOpenIDAllowManualUsername, AllowAutomaticUsername, ProposeUsernameFromSREG |
487 | 490 | bug 18635 Allow to use User pages as OpenIDs even if user is using OpenID already |
488 | | - |
Index: trunk/extensions/OpenID/SpecialOpenIDLogin.body.php |
— | — | @@ -409,6 +409,7 @@ |
410 | 410 | } |
411 | 411 | |
412 | 412 | $wgUser = $user; |
| 413 | + RequestContext::getMain()->setUser( $wgUser ); |
413 | 414 | |
414 | 415 | $this->clearValues(); |
415 | 416 | |
— | — | @@ -471,6 +472,7 @@ |
472 | 473 | if ( $user instanceof User ) { |
473 | 474 | $this->updateUser( $user, $sreg, $ax ); # update from server |
474 | 475 | $wgUser = $user; |
| 476 | + RequestContext::getMain()->setUser( $wgUser ); |
475 | 477 | $this->displaySuccessLogin( $openid ); |
476 | 478 | } else { |
477 | 479 | // if we are hardcoding nickname, and a valid e-mail address was returned, create a user with this name |
Index: trunk/extensions/OpenID/OpenID.php |
— | — | @@ -27,7 +27,7 @@ |
28 | 28 | exit( 1 ); |
29 | 29 | } |
30 | 30 | |
31 | | -define( 'MEDIAWIKI_OPENID_VERSION', '0.933-beta' ); |
| 31 | +define( 'MEDIAWIKI_OPENID_VERSION', '0.934-beta' ); |
32 | 32 | |
33 | 33 | $path = dirname( __FILE__ ); |
34 | 34 | set_include_path( implode( PATH_SEPARATOR, array( $path ) ) . PATH_SEPARATOR . get_include_path() ); |