Extension talk:PunBB Authentication/Archive 1

This extension does what it says on the tin.. If you log into your forum you're logged into MediaWiki. However there are problems with it: Noopectro 11:11, 19 March 2007 (UTC)
 * The code, as is, doesn't let you log out of Mediawiki unless you use the logout link on the forums.
 * If you change your preferences, you wont be able to log out of media wiki, no matter what you do short of cleaning your cookies.

Some fixes
In order to get your plugin working on my installation of MediaWiki (v. 1.9.1), I had to add  right after. I know that this is probably not best practice, but somehow MediaWiki called the hook more than once and did not cache that the user was added in the first run, thus getID returning 0 again and the name being reset to NULL which resulted in MediaWiki trying to add the user with the NULL-username more than once.

I also changed the extension to use the canonicalName-function of the User-class, which can also check if the username is creatable etc.. :)

--89.245.117.127 10:59, 6 December 2007 (UTC)