Template:SMWClean/doc

This template deals with some undocumented behavior of Semantic MediaWiki. SMW uses the special links  and   to turn the setting of properties on and off while processing wikicode. Results of queries are wrapped in these to prevent them from setting properties.

During parsing, they are quietly removed as they are encountered while switching property setting on and off. Unfortunately, this can happen late enough in page processing that they may still be there when the query results need to be processed, potentially causing errors. This seems to happen frequently when using  on query results. This template is a simple workaround that just removes these links from the passed value.

Usage: