Index: trunk/extensions/SemanticResultFormats/RELEASE-NOTES |
— | — | @@ -5,6 +5,7 @@ |
6 | 6 | == SRF 1.6.1 == |
7 | 7 | |
8 | 8 | * Fixed rendering bug in the tagcloud format occuring for inline queries. |
| 9 | +* Fixed jqPlotBar and jqPlotPie rendering on Special:Ask and other special pages. |
9 | 10 | |
10 | 11 | == SRF 1.6 == |
11 | 12 | |
Index: trunk/extensions/SemanticResultFormats/jqPlot/SRF_jqPlotPie.php |
— | — | @@ -6,10 +6,6 @@ |
7 | 7 | * @author Yaron Koren |
8 | 8 | */ |
9 | 9 | |
10 | | -if ( !defined( 'MEDIAWIKI' ) ) { |
11 | | - die( 'Not an entry point.' ); |
12 | | -} |
13 | | - |
14 | 10 | class SRFjqPlotPie extends SMWResultPrinter { |
15 | 11 | protected $m_width = 400; |
16 | 12 | protected $m_height = 400; |
— | — | @@ -105,9 +101,7 @@ |
106 | 102 | } |
107 | 103 | |
108 | 104 | protected function getResultText( SMWQueryResult $res, $outputmode ) { |
109 | | - global $wgOut, $wgParser; |
110 | | - |
111 | | - $wgParser->disableCache(); |
| 105 | + global $wgOut; |
112 | 106 | |
113 | 107 | $this->addJavascriptAndCSS(); |
114 | 108 | |
Index: trunk/extensions/SemanticResultFormats/jqPlot/SRF_jqPlotBar.php |
— | — | @@ -132,10 +132,8 @@ |
133 | 133 | } |
134 | 134 | |
135 | 135 | protected function getResultText( SMWQueryResult $res, $outputmode ) { |
136 | | - global $wgOut, $wgParser; |
| 136 | + global $wgOut; |
137 | 137 | |
138 | | - $wgParser->disableCache(); |
139 | | - |
140 | 138 | self::addJavascriptAndCSS(); |
141 | 139 | |
142 | 140 | $this->isHTML = true; |