Help:Exhibit format
| Exhibit format |
|---|
| What: |
| Uses Exhibit to print query results |
| Provided by: |
| Semantic Result Formats |
| Added in version: |
| 1.4.0 |
| Removed in version: |
| still supported |
| Further Requirements: |
| none |
| Format name: |
| exhibit |
| Authors: |
| Fabian Howahl |
| Categories: |
| misc |
Note: this result format is in need of a maintainer. Contact Jeroen De Dauw for more info.
Note: this result might not work property with MediaWiki 1.17 and later.
The result format exhibit is used to display query results in interactive charts, tables and maps, which can be filtered down after page load.
Contents |
Example
TODO
Parameters
Like other result printers (e.g. Timeline), the result printer needs more information to set up a visualization. Basically, three parameters supply Exhibit with the required information:
- 'views' - the 'views' parameter holds the different views Exhibit is supposed to create. Right now, the views tiles, tabular, timeline and maps can be selected here. In case one would like to have more than one view, multiple values can be limited by a comma. After Exhibit has rendered the views, one can switch between them by using a panel.
- 'facets' - Exhibit offers faceted browsing. Property values that occur more often can be grouped. The user is able to select the values she would like to see by checking them. Query results that do not hold the selected values will vanish then. In order to let Exhibit know which Property should be subject to a facet, the property's name has to be passed through the 'facets' parameter of the query. Multiple properties are possible as well (comma is the preferred limiter).
- 'lens' - Exhibit enables the user to influence the appearance of the visualization to a certain extent. One can provide HTML or wikitext snippets that Exhibit uses to render a single query result. These snippets are lodged in MediaWiki's template system. The value of the 'lens' parameter refers to a template that has to be created before.
In the event you want to enable remote querying, please add the following snippet to the configuration file:
$srfgExhibitRemote=true;
Known bugs
"Item" Bug:
Please don't use the following property names when you want to use exhibit:
- type
- id
- columns
- hideTable
- label
- pluralLabel
Due to a bug, exhibit doesn't work with these property names.
IE 6 and IE 7 Javascript errors
In some cases (depending on versions of SRF and the amount of javasript in the skin you use) there can be JavaScript errors in Internet Explorers 6 and 7. So test carefully if the users of your wikis work with these browsers.