You can view the configuration documentation below the edit area.
You do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page.
Configuration documentation
Besides the configuration reference below, you can consult the Wikibase Export usage documentation and demo wiki.
Export language
By default the export happens in the wiki's main language.
You can change the export language or let the user choose by specifying multiple available languages.
Example configuration:
{ "exportLanguages": [ "en", "nl", "de" ] }
Export subjects
You can specify the subjects that should be selected for export by default.
{ "defaultSubjects": [ "Q1", "Q2" ] }
This can be any entities defined in this wiki.
You can also limit which entities show up in the search results via
subjectFilterPropertyId
and subjectFilterPropertyValue
. Example:
{ "subjectFilterPropertyId": "P1", "subjectFilterPropertyValue": "Q2" }
Exporting ungrouped values
To have the "ungrouped values" section show on the export page, configure at least one ungroued property.
{ "ungroupedProperties": [ "P1", "P2" ] }
Statements with ungrouped properties will have their values be included in the export without grouping or filtering.
Grouping values by year
Values can be filtered and grouped by year. You can configure which properties should have their values be grouped this way.
{ "propertiesToGroupByYear": [ "P3", "P4" ] }
For the "values grouped by year" section to show on the export page, you need to configure at least one property to be grouped by year and at least one time qualifier property:
{ "startTimePropertyId": "P100", "endTimePropertyId": "P200", "pointInTimePropertyId": "P300" }
You can optionally configure the default start and end years to be shown on the export page:
{ "defaultStartYear": 2019, "defaultEndYear": 2023 }
The current year will be used if there is no configuration for the defaults.
Full example
{ "exportLanguages": [ "en", "nl" ], "defaultSubjects": [ "Q1", "Q2" ], "subjectFilterPropertyId": "P50", "subjectFilterPropertyValue": "company", "ungroupedProperties": [ "P3", "P4" ], "propertiesToGroupByYear": [ "P1", "P2" ], "startTimePropertyId": "P100", "endTimePropertyId": "P200", "pointInTimePropertyId": "P300", "defaultStartYear": 2022, "defaultEndYear": null }
Interface messages customization
You can change the following export page text snippets:
- wikibaseexport-summary
- wikibase-export-intro
- wikibase-export-download
- wikibase-export-intro-admin-notice
- wikibase-export-language-heading
- wikibase-export-subjects-heading
- wikibase-export-subjects-placeholder
- wikibase-export-grouped-statements-heading
- wikibase-export-start-year
- wikibase-export-end-year
- wikibase-export-statement-group-all
- wikibase-export-ungrouped-statements-heading
- wikibase-export-statement-group-all
- wikibase-export-config-heading
- wikibase-export-config-header-id
- wikibase-export-config-header-label
To see where each message is used, view Special:WikibaseExport?uselang=qqx.
Return to MediaWiki:WikibaseExport.