User metadata?

View: New views
3 Messages — Rating Filter:   Alert me  

User metadata?

by Daniel Barrett-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On our corporate wiki, I'd like to store user-related information -- their department, manager's name, etc. -- so I can run reports on wiki authorship by department and similar things.

The user information comes from ActiveDirectory/LDAP, but for performance reasons (so I can query it easily), I'd like to store a copy within the MediaWiki infrastructure.  Any suggestions on the right place to put it?

-       Create a new database table containing all the data, with user.user_id as a foreign key?
-       Stash it in each user's Preferences?
-       Store it in wiki articles, either automatically or (ugh) manually?
-       Something else?

Thanks for your ideas & opinions.
DanB


_______________________________________________
MediaWiki-l mailing list
MediaWiki-l@...
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: User metadata?

by Jim R. Wilson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

It depends on how you want to query the and how much control you want
over the querying thereof, but one easy way may be to use Semantic
MediaWiki.  That is, create a brand new <tag> or {{#parserfunction:}}
which queries your LDAP provider and inserts the data into SMW.

Then insert the new tag or function into each user's user page.  OR,
just add a hook to something like ArticleFromTitle so that any time a
page in the User namespace is accessed, it kicks off the LDAP/SMW sync
process (within a given minimum time that is, say 1 hour or maybe 1
day so you don't do it /too/ often).

-- Jim R. Wilson (jimbojw)

On Mon, Jul 14, 2008 at 4:30 PM, Daniel Barrett <danb@...> wrote:

> On our corporate wiki, I'd like to store user-related information -- their department, manager's name, etc. -- so I can run reports on wiki authorship by department and similar things.
>
> The user information comes from ActiveDirectory/LDAP, but for performance reasons (so I can query it easily), I'd like to store a copy within the MediaWiki infrastructure.  Any suggestions on the right place to put it?
>
> -       Create a new database table containing all the data, with user.user_id as a foreign key?
> -       Stash it in each user's Preferences?
> -       Store it in wiki articles, either automatically or (ugh) manually?
> -       Something else?
>
> Thanks for your ideas & opinions.
> DanB
>
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l@...
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l@...
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: User metadata?

by Platonides :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Daniel Barrett wrote:

> On our corporate wiki, I'd like to store user-related information -- their department, manager's name, etc. -- so I can run reports on wiki authorship by department and similar things.
>
> The user information comes from ActiveDirectory/LDAP, but for performance reasons (so I can query it easily), I'd like to store a copy within the MediaWiki infrastructure.  Any suggestions on the right place to put it?
>
> -       Create a new database table containing all the data, with user.user_id as a foreign key?
> -       Stash it in each user's Preferences?
> -       Store it in wiki articles, either automatically or (ugh) manually?
> -       Something else?
>
> Thanks for your ideas & opinions.
> DanB

I'd store it on a table of its own.


_______________________________________________
MediaWiki-l mailing list
MediaWiki-l@...
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
LightInTheBox - Buy quality products at wholesale price