DarsVaeda wrote: > i installed sematicWiki to my Wiki, everything works except attributes. > i added an attribute to an article > (http://www.terrapedia.org/Testudo_marginata) > i set the datatype in the attribute article > (http://www.terrapedia.org/Attribut:Gr%C3%B6%C3%9Fe) > but it still says there is no datatype set for that attribute.
Currently it complains that for this enumerated datatype (Datentyp:Aufzählung) , you haven't given any possible values. > strange thing is: > if i look at spezial:attributes > (http://www.terrapedia.org/Spezial:Attributes) there are no attributes found. > but if i look at all pages and choose attributes for namespace it find my > attribute > (http://www.terrapedia.org/index.php?title=Spezial%3AAlle+Seiten&from=&namespace=106) The help text for Special:Attributes and Special:Relations is misleading. Those pages say "The following attributes exist in the wiki" but that's not what they query. The text should be something like: "The wiki has pages using the following attributes." Since the page has an error as reported in the factbox, it is not using the attribute, even though the attribute has a page. I gave Attribut:Größe some possible values (small, medium, large) and after purging the Testudo_marginata page you get a different error, because "largest land turtle in Europe" isn't one of them [[Größe:=größte Landschildkröte Europas]] An enumerated type is useful to limit possible values of an attribute, but I'm not sure it makes sense to allow strings like "largest land turtle in Europe". This [[Größe:=groß|größte Landschildkröte Europas]] works but may not be what you want either. Maybe you could have possible values [[Erlaubt Wert:=1 - mikroskopisch]] 2 - klein 3 - mittlere 4 - groß 5 - enorm which would sort and show nice values. Or just use type string (Zeichenkette) which will allow any string. > maybe its because i did following: > i installed semanticWiki but i did not set > $smwgNamespaceIndex = 104; > before starting installing on Special:SMWAdmin. > i set that after i discovered that there was something messed up with the > namespaces and it seemed i had to set $smwgNamespaceIndex If you have other extensions that set up namespaces then you do need to change this. After doing so you'll have to purge every page using SMW in the right order to get SMW to store the right namespaces in its tables. Looks very cool by the way! -- =S ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Semediawiki-user mailing list Semediawiki-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-user