Yes, there's no property for user groups; and yes, I would think it would require a separate extension to enable it.

To start, I would look in the code to see where user groups get saved, and see if there's a hook there you can register with (okay, I just did - it looks like "/includes/specials/SpecialUserrights.php" is the file, and 'UserRights' is the helpful hook). Your extension needs to have a function that registers with that hook, and adds and/or removes SMW values as necessary - see the SMWParseData class in the SMW code for the main class used to handle the data.


On Mon, Jun 29, 2009 at 1:05 PM, Mr.B <> wrote:

After a lot of searching documentation and possible extensions it has become
clear that there seems to be no such thing as a (special) property: user
group (or something like that). There also seems no way of retrieving such
information from either mediawiki or semantic mediawiki without devising an

The question I'm bothered with is: is it possible to (easily) implement such
a property or is the only way to go towards an extension? And if it is the
latter, could I be pointed in the fairly right direction to look, because
the extension (development) documentation is as vast as it is detailed.

Thanks in advance,
View this message in context:
Sent from the Semantic Mediawiki - Development mailing list archive at

Semediawiki-devel mailing list