Template:Bugfix SMW hased URI

From TDWG Terms Wiki
Revision as of 12:41, 6 September 2016 by Andreas Plank (Talk | contribs) (Created page with "<noinclude> Problem: Semantic MediaWiki * stores a hashed URL like <code><nowiki>URL::http://www.w3.org/2004/02/skos/core#</nowiki></code> * as http://www.w3.org/2004/02/...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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#}}}}