Index: trunk/extensions/SemanticResultFormats/RELEASE-NOTES |
— | — | @@ -2,6 +2,11 @@ |
3 | 3 | http://semantic-mediawiki.org/wiki/Semantic_Result_Formats |
4 | 4 | |
5 | 5 | |
| 6 | +== SRF 1.7 == |
| 7 | + |
| 8 | +* Compatibility with SMW 1.7 and later. |
| 9 | +* Dropped support for MediaWiki 1.15.x. |
| 10 | + |
6 | 11 | == SRF 1.6.2 == |
7 | 12 | |
8 | 13 | Released on September 18, 2011. |
Index: trunk/extensions/SemanticResultFormats/INSTALL |
— | — | @@ -1,3 +1,15 @@ |
| 2 | +== Requirements == |
| 3 | + |
| 4 | +Semantic Result Formats requires: |
| 5 | +* MediaWiki 1.16 or above |
| 6 | +* Semantic MediaWiki 1.7 or above |
| 7 | +* PHP 5.2 or above |
| 8 | + |
| 9 | +For older setups, SRF 1.6.x can be used, which has these requirements: |
| 10 | +* MediaWiki 1.15 or above |
| 11 | +* Semantic MediaWiki 1.5.1 to 1.6.1 |
| 12 | +* PHP 5.2 or above |
| 13 | + |
2 | 14 | == Installation == |
3 | 15 | |
4 | 16 | Installation instructions are available online in a more convenient form for |
Index: trunk/extensions/SemanticResultFormats/jqPlot/SRF_jqPlotPie.php |
— | — | @@ -172,7 +172,8 @@ |
173 | 173 | $params['height'] = new Parameter( 'height', Parameter::TYPE_INTEGER, 400 ); |
174 | 174 | $params['height']->setMessage( 'srf_paramdesc_chartheight' ); |
175 | 175 | |
176 | | - $params['width'] = new Parameter( 'width', Parameter::TYPE_INTEGER, 400 ); |
| 176 | + // TODO: this is a string to allow for %, but better handling would be nice |
| 177 | + $params['width'] = new Parameter( 'width', Parameter::TYPE_STRING, '400' ); |
177 | 178 | $params['width']->setMessage( 'srf_paramdesc_chartwidth' ); |
178 | 179 | |
179 | 180 | $params['charttitle'] = new Parameter( 'charttitle', Parameter::TYPE_STRING, ' ' ); |
Index: trunk/extensions/SemanticResultFormats/jqPlot/SRF_jqPlotBar.php |
— | — | @@ -274,7 +274,8 @@ |
275 | 275 | $params['height'] = new Parameter( 'height', Parameter::TYPE_INTEGER, 400 ); |
276 | 276 | $params['height']->setMessage( 'srf_paramdesc_chartheight' ); |
277 | 277 | |
278 | | - $params['width'] = new Parameter( 'width', Parameter::TYPE_INTEGER, 150 ); |
| 278 | + // TODO: this is a string to allow for %, but better handling would be nice |
| 279 | + $params['width'] = new Parameter( 'width', Parameter::TYPE_STRING, '100%' ); |
279 | 280 | $params['width']->setMessage( 'srf_paramdesc_chartwidth' ); |
280 | 281 | |
281 | 282 | $params['charttitle'] = new Parameter( 'charttitle', Parameter::TYPE_STRING, ' ' ); |