LE DU Stefan - CETE Ouest/DIOG/Groupe A.N.T. wrote:

> Currently the restriction I need, in my particular case, is for string
> attributes only, but it would probably be useful in some cases for other
> types of attributes (dates, integers).

"Probably be useful" isn't much of a use case :-), but I'll bear it in 
mind.  I coded it so that attributes of the new Type:Enumeration have a 
list of possible values, but maybe enumerations are just attributes of 
Type:String, and potentially attributes of any type could restrict to a 
list of possible values.

> I'm not very knowledgeable about editing code,
Nor am I ;-)

 > I'd rather wait for this
> feature to be included in a future SMW release. Do you think this is likely
> to happen ?

I just checked in my implementation, so if you're brave you could use 
Subversion to check out latest code from 
http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/SemanticMediaWiki

Otherwise, if this stands up to scrutiny it will be in a future SMW 0.7 
release.

--
=S

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Semediawiki-user mailing list
Semediawiki-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-user

Reply via email to