Showing URLs as plain text

From semantic-mediawiki.org
Fragment of a discussion from Help talk:Type URL

I just tried to do it too and failed. I believe this is a bug and filed Task T41392 for you. There are two workarounds which you may try:

  1. Assing datatype String to this propery / if you only need the URL for this particular purpose
  2. Create a second property of type String: / if you still need the URL for another purpose.

Hope this helps. Cheers

22:34, 15 August 2012

Thank you for your reply!

I actually noticed the "link" option in the table format just a few minutes after writing my message. It worked well for interwiki links but not for outgoing links.

This is propably actually because of Mediawiki and not SMW. It changes all strings starting with "http" into a working link unless you use nowiki tags around the link.

However it is not possible to add those nowiki tags in this case.

What is needed is a plain format option for the url datatype which basically adds those nowiki tags around the links while printing the table.

08:01, 16 August 2012

I solved my problem. I do not know why I did not figure this out earlier, but it was quite easy to turn those URLs to image links with a few lines of css.

15:23, 23 August 2012