[Mediawiki-l] Additional User Attributes

Dan Davis hokie99cpe+wiki at gmail.com
Fri Dec 8 16:28:01 UTC 2006


OK, I know that I've seen information on doing what I am about to ask, but,
for the life of me, I can't seem to locate any of it!

I handle authentication of users through a corporate SSO portal. This portal
supplies me with information about the user beyond what is normally stored
in the MW database. What I'd like to do is define additional fields in the
MySQL database to store some of this info. The user need not ever see it, so
there should be no reason to update the Preferences page, or any other page,
for that matter.

I think I can handle updating the MySQL table, but what I need guidance on,
is (1) how do Iupdate these new fields via my authentication plugin? And,
(2) how do I access these fields from other pages? Specifically, I want to
access them from Special:Listusers. I'm sure I can update the SQL statement
in getSQL(), but not sure where to edit the code to retrieve the new field
from the result.

Any help would be appreciated.

Dan



More information about the MediaWiki-l mailing list