Thread:Extension talk:OpenID/functional questions

Hi, nice extension, a few q's:
 * inline answered by Wikinaut 05:45, 25 October 2011 (UTC)

thanks.
 * 1) How does an openid-enabled wiki mix with a shared user table implemented using $wgSharedDB?
 * I think, there are no problems, as long as userids are unique. I assume, that userids are unique in each database, i.e. each Wiki. See the database table skeleton (url next point)
 * 1) What is stored in the user table by this extension when the user is first created?
 * the MediaWiki userid of an account x, the registration timestamp when the OpenID registration took place, or when the OpenID identity was added to that account, the OpenID (Url). Remark: there can be many of such rows linked to a single account x - if the user has added more than one OpenID. See http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/OpenID/patches/openid_table.sql?view=markup . This is prepared for shared databases, as far as I can see.
 * 1) Any idea how this extension interacts with ConfirmAccount, or, any suggestions if I want to record additional fields in the user table?
 * I do not think that you need to modify anything. The only link the OpenID extension relies on is the standard MediaWiki userid given by MediaWiki core when an account was opened. OpenID creates its own table, and does not modify anything else. Removing OpenID is a matter of 1) deleting the table user_openid and 2) removing the require_once( "....OpenID" ) and 3) deleting $IP/extensions/OpenID and everything below this. I will add this to the manual.
 * You can try it safely and then, if you don't like it, you can disable or remove it without leaving remains in your standard MediaWiki installation.
 * If you encounter problems, hopefully you don't, please first study the first-aid information form on top of this talk page.