Showing URLs as plain text
Is it possible to show an URL as plain text, i.e. without the actual link. I tried the method explained here but it did not seem to work for URLs.
What I am trying to accomplish is to create a listing where instead of URLs the listing would show an image containing the link. This is pretty easy to do with the Archive:Template format, but the problem is that the URLs will not print out as plain text.
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:
- Assing datatype String to this propery / if you only need the URL for this particular purpose
- Create a second property of type String: / if you still need the URL for another purpose.
Hope this helps. Cheers
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.