Template:Bugfix SMW hased URI

From TDWG Terms Wiki
Revision as of 12:41, 6 September 2016 by Andreas Plank (Talk | contribs)

Jump to: navigation, search

Problem: Semantic MediaWiki

So this template checks if the final character is a # and adds “%20” to it (a blank character urlencoded). This fixes somehow the storage of # URLs. In addition

Usage

Use it only to set hidden properties:

{{#set: vann:preferredNamespaceUri|{{Bugfix SMW hased URI|http://www.w3.org/2004/02/skos/core#}}}}
{{#set: vann:preferredNamespaceUri|{{Bugfix SMW hased URI|uri=http://www.w3.org/2004/02/skos/core#}}}}
{{#set: vann:preferredNamespaceUri|{{Bugfix SMW hased URI|1=http://www.w3.org/2004/02/skos/core#}}}}