Re: [SMW-devel] (SMW_QueryPrinter.php) SMW::on & SMW::off

2010-02-04 Thread Patrick Nagel
Hi John On 2010-02-05 09:37, John McClure wrote: > I've changed L154 of SMW_QueryPrinter.php to: > -- > # $result = '[[SMW::off]]' . $wgParser->replaceVariables($result) . > '[[SMW::on]]'; //old line > $result = $wgParser->replaceVariables($result); > if( chr(13) == substr($result,0,1

Re: [SMW-devel] (SMW_QueryPrinter.php) SMW::on & SMW::off

2010-02-04 Thread John McClure
I've changed L154 of SMW_QueryPrinter.php to: -- # $result = '[[SMW::off]]' . $wgParser->replaceVariables($result) . '[[SMW::on]]'; //old line $result = $wgParser->replaceVariables($result); if( chr(13) == substr($result,0,1) ) //if there is an initial \r $result = substr($

[SMW-devel] (SMW_QueryPrinter.php) SMW::on & SMW::off

2010-02-04 Thread John McClure
Hello, I am encountering [[SMW::off]] ... [[SMW::on]] in my query results and I'm trying to understand if it's my query at fault, or whether it's how I am using #ask, or something else. I wonder if I should just rip the code out of (SMW_QueryPrinter.php) that generates these two unusual *links*. --