 S Page
i tried all your suggestions, no success...
ok first to mention i upgraded to 1.1.2 without problems (i want to
import an ontology and try SPARQL asap).
I tried with string and temperature data types, all red links point to
new page creation edit forms.
i tried with[[Datentyp::URL]] or even [[Datentyp::Datentyp:URL]]
New information, which came to my mind lately:
If I am not completely wrong it was some weeks ago solved when i
outcommented my
$smwgNamespacesWithSemanticLinks = array(NS_MAIN=>true,NS_BLOG=>true);
in LocalSettings.php
Now did that again but no effect, also tried to leave MAIN namespace...
but i guess this setting resp. its default, stayed the same from 1.0RC
to now.
I keep on trying...
:)
if you have further ideas, let me know!! :)
Florian
S Page wrote:
> Florian Konnertz wrote:
>
>> I have trouble with the URL datatype.
>> Ie Property:Website
>> (in my case in german Attribute:Website )
>> i define as [[has type::URL]]
>>
>> and a few others as Attribute:Forum and so on
>>
>> but the url is (in most cases) rendered as link to a new page in red
>> with capital "Http:..."
>> see
>
> Somehow SMW is not picking up the type for this Property, so when you
> annotate other pages with [[Website::foo]], SMW thinks it's the default
> kind of property, another wiki page.
>
> I notice doesn't show a
> factbox for this annotation. Compare e.g.
>
> Did you turn off factbox display in the Attribut (Property) namespace?
> However, SMW is parsing your annotation, because it turns [[has
> type::URL]] into a link to Datentyp:URL. But somehow it's ignoring it.
>
> * If you put other semantic annotations on an Attribute page, do they
> make a factbox show up?
>
>
>
> shows "Website" twice, which is really odd, and neither acknowledges
> that it has the URL datatype. Did you upgrade your wiki from SMW 0.7?
> -- maybe that left some information around from the old namespaces.
> It seems every property in your wiki is the default type ("Seite", or
> Type:Page).
>
> * Try giving another property a type, e.g. create Attribut:Test with
> [[has type::string]] and see if that works.
>
> You've also confused things by having a page
> with the same [[has
> type::URL]]annotation. SMW doesn't complain if you use special
> properties like Has_type on pages where they make no sense, but it's
> confusing.
>
> A few other things to try:
>
> * Edit-then-save the pages in the chain, starting with Attribut:Website
> and then your Xing page. Or run the SMW_refreshData.php maintenance
> script twice.
> * Remove the [[has type::URL]] annotation on the Website page in the
> main namespace just in case it's getting in the way. (If that fixes the
> problem then let me know, it indicates a bug in how SMW gets special
> properties of properties.)
> * Purge the Spezial:Properties page and see if it still shows two
> Website properties and each still shows Type:Seite.
>
> * It could be a subtle translation/alias issue where you need to use
> [[Datentyp::URL]] or even [[Datentyp::Datentyp:URL]], but SMW seems to
> be handling the canonical English names OK and I think SMW 1.0 fixed
> most of those issues.
>
>
>> I tried also
>> [[has type::type:URL]]
>> [[has Type::URL]]
>> and few others
>> as seen somewhere.
>
> The format you have should be fine. Again, in the page's display SMW
> turns it into a link to [[Datentyp:URL]], showing that SMW recognized
> the special property and supplied the Type/Datentyp namespace. Yet SMW
> isn't using this information about the property.
>
>> My versions:
>>
>>
>> mw 1.11.0 and smw 1.0RC2
>>
>> any ideas?
>> upgrade?
>
> SMW 1.1.2 is better and the upgrade is pretty smooth, but I think what
> you're trying worked OK in 1.0.
>
> Good luck,
> --
> =S Page
--
I agree to receive quotes, newsletters and other information from sourceforge.net and its partners regarding IT services and products. I understand that I can withdraw my consent at any time. Please refer to our Privacy Policy or Contact Us for more details