Re: [SMW-devel] Getting SMW to work with FlaggedRevs?

2010-01-29 Thread Yaron Koren
Yes, I agree that it would probably be nice to eventually be able to query both the "latest" and "flagged" versions of the data, though as you note it would be rather difficult (scary, even) to implement... I'm glad you agree that this a reasonable starting step. -Yaron On Fri, Jan 29, 2010 at 4:

Re: [SMW-devel] Getting SMW to work with FlaggedRevs?

2010-01-29 Thread Sergey Chernyshev
Yaron, I think it's a much more complex question as data should not only be visible in one state, but in two states - for logged in users it is shown in latest version and to everybody else in only flagged version which means that SMW should start distinguishing between those two versions effectiv

[SMW-devel] Getting SMW to work with FlaggedRevs?

2010-01-29 Thread Yaron Koren
Hi, If anyone's not aware of the FlaggedRevs extension, it's a neat extension that allows for certain groups of users to flag specific versions of a page as being "valid". What's shown to regular readers is then the latest valid version, instead of just the latest version, in the same way that sof

Re: [SMW-devel] property defined by function

2010-01-29 Thread zehetner
Hi, I would also look into the ArrayExtension (http://www.mediawiki.org/wiki/Extension:ArrayExtension) If you have something like [[HeightLength::1;4]] [[HeightLength::2;5]] you can extract and assign a HeightArray and a LengthArray by queries (see examples on extension page). Unfortunately th