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. -Yaron On Mon, Jun 29, 2009 at 1:05 PM, Mr.B <[email protected]> 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 > extension. > > 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, > Boudewijn > -- > View this message in context: > http://www.nabble.com/%28Special%29-property%3A-user-group-tp24257232p24257232.html > Sent from the Semantic Mediawiki - Development mailing list archive at > Nabble.com. > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Semediawiki-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/semediawiki-devel >
------------------------------------------------------------------------------
_______________________________________________ Semediawiki-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
