Last modified: 2012-08-18 08:27:12 UTC
After Login with OpenID I get to: "Verification succeeded Successful verification and log in as user username. Your OpenID is https://www.google.com/accounts/o8/id?id=someId This and further OpenIDs, and an optional account password, can be managed in your preferences. Return to Main Page." When I click on my user profile to add the OpenID to the created profile I get "Not logged in You must be logged in to set user preferences." I can send me an email reminder of an account password to login later and add the OpenID, but I think the login should be there automatically. Also, is it possible to automatically add the OpenID to the created user profile?
This usually works automatically. Once your are in (OpenID account creation), the OpenID is (should be) automatically attached to your (new) account. perhaps it is an issue (which I had in former versions of the MediaWIki core), that the links (on top of screen) were not immediately updated, which was an issue of the so-called context. Will check this. Please can you post here the exact MediaWiki version, and OpenID version ?
I tested it, it works for me. Must be another reason on your server. My wiki: Product Version MediaWiki 1.20alpha (a441912) PHP 5.3.14 (apache2handler) MySQL 5.1.57-log OpenID (Version 1.004 20120427) (r115098)
Just one idea: Have you recently upgraded from an older version of OpenID ? I checked the sources, and the problem reported by you - or similar to it - was fixed in https://www.mediawiki.org/wiki/Special:Code/MediaWiki/95706 (29 August 2011) I suggest you fully delete the old extension subdirectory and reinstall the 1.004 version from SVN. Let me know if the problem still persists.
I just found that it is because of the browser I use. I used the most current Chrome (21.0.1180.79) and it would have the described issue. With Firefox 14 and Internet Explorer 8 it works fine. OpenID (Version 1.004 20120427) MediaWiki 1.19.1 PHP 5.3.3 (apache2handler) MySQL 5.0.95
To answer your last question: There was no upgrade. I did a complete new install of MediaWiki and OpenId Extension.
I checked that now with Chrome 21.0.1180.79 - it works for me !
If you still have this problem, you can try something ? Delete the one account, or merge it with your Sysop account (I use the https://www.mediawiki.org/wiki/Extension:User_Merge_and_Delete extension to merge and delete after successful merging "new OpenID test user" accounts with my WikiSysop account. Then I can try again.) Just ***before*** the stage you are describing as "When I click on my user profile to add the OpenID to the created profile I get" press Ctrl+F5 in your browser. Do the portlet links (my preferences) change then? I mean exactly: do they show still the IP number or do they show the newly added username ?
Yes I still have this problem. Only with Chrome. On the Special:OpenIDLogin/Finish page with the title "Verification succeeded" I already see the portlet links changed (username is shown instead of IP). However, once I go from there to any other page of the wiki it seems to loose the login information, i.e. the IP is shown again instead of the username. I tried using Ctrl+F5 on Special:OpenIDLogin/Finish aswell with the same result.
Actually, I get a "Verification error" when I hit Ctrl+F45 on the Speical:OpenIDLogin/Finish page. But I guess one is normally not supposed to do that anyways right?
(In reply to comment #8) > On the Special:OpenIDLogin/Finish page with the title "Verification succeeded" > I already see the portlet links changed (username is shown instead of IP). > However, once I go from there to any other page of the wiki it seems to loose > the login information, i.e. the IP is shown again instead of the username. > I tried using Ctrl+F5 on Special:OpenIDLogin/Finish aswell with the same > result. Please hover above the portlet link (not clicking) when it already shows the username. Is the url (link) reflecting this change, or has the link still the IP address ? This was the effect which I fixed one year ago in the mentioned commit, but I did not test that in Chrome then. I am pretty sure it is an issue of caching, or a context problem, and it is indeed very annoying and difficult to track (I will try with your help). And, why is my reference implementation with the same Chrome version not showing this effect you described? Strange
The url of the link already shows the username (link to .../User:username). Yes it seems a little strange if you don't encounter the same.. if I you need any other information to track down the issue let me know.
I installed the mediawiki with extensions and configurations anew. The problem seems to have disappeared. I'm not sure what I did differently.
(the versions of anything remained the same)
> I installed the mediawiki with extensions and configurations anew Good to know. Reinstallation helps in many cases (actually it was my advice in https://bugzilla.wikimedia.org/show_bug.cgi?id=39435#c3 )