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

MWJames <jamesin.hongkon...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|SMW::on and SMW::off in SMW |Special:Ask / template
                   |1.9                         |output shows SMW::on and
                   |                            |SMW::off in SMW 1.9

--- Comment #1 from MWJames <jamesin.hongkon...@gmail.com> ---
Only template parsing in Special:Ask [[SMW::off]]/[[SMW::on]] is distorted
because [1] fails to enter parsing due to $wgParser->getTitle() and
$wgParser->getOptions() being null.

I'm not aware of that anyone has worked on this part ([1] and [2] are the same
for master and 1.8.0.5) therefore I can't tell why the behaviour are suppose
the be different.

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

[2]
https://github.com/SemanticMediaWiki/SemanticMediaWiki/blob/1.8.0.5/includes/queryprinters/SMW_ResultPrinter.php#L282

PS: Checked the output of $wgParser->getOptions()/$wgParser->getOptions() using
var_dump() in Special:ask which yields null.

-- 
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