https://bugzilla.wikimedia.org/show_bug.cgi?id=58991

--- Comment #4 from MWJames <jamesin.hongkon...@gmail.com> ---
As an easy fix, just remove [1], [2].

[3] was set for a reason (exists at least since 1.8) which is why the
SpecialPage like Ask or RunQuery will show [[SMW::off]]/[[SMW::on]] for a
template output.

[1]
https://github.com/SemanticMediaWiki/SemanticMediaWiki/blob/master/includes/queryprinters/ResultPrinter.php#L303

[2]
https://github.com/SemanticMediaWiki/SemanticMediaWiki/blob/master/includes/queryprinters/ResultPrinter.php#L304

[3] $result = '[[SMW::off]]' . $result . '[[SMW::on]]';

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to