Difference between revisions of "Wikibase options"
Jump to navigation
Jump to search
Line 100: | Line 100: | ||
* why item for each property on wikidata? what is the use case? | * why item for each property on wikidata? what is the use case? | ||
* canonical way to refer from an item to a template? could be used to define ShEx --> Template and create ShapeMap | * canonical way to refer from an item to a template? could be used to define ShEx --> Template and create ShapeMap | ||
− | * hold properties and their alignment on wikidata/registry | + | * hold properties and their alignment on wikidata/[https://wikibase-registry.wmflabs.org/wiki/Main_Page registry] |
= See also = | = See also = |
Revision as of 11:08, 13 March 2019
Options for configuration
- site name
- site URL
- wikibase installation
- sending email
- locate password file elsewhere? not in plain text?
- copyright
- Wikibase-docker example
- Readme there for multiple services
- LocalSettings
- settings generator
- Someone customizing the wikibase docker compose
Main services
- Wikibase
- WDQS
- WDQS backend
- QuickStatements
Features
Gadgets
- See Special:Gadgets on wikidata
- See MediaWiki:Gagdgets-definition on wikidata
- Check Special:Version on wikidata to see if gadgets are installed.
EasyQuery
- EasyQuery.js gadget, needs to be updated for the query endpoint, at the very least. Can be done manually to start.
- "Customizing the menu"
- edit the sidebar, go to "/wiki/MediaWiki:Sidebar"
** Special:NewItem|New item ** Special:NewProperty|New property
Logo
User rights and namespaces
- user rights
- page specific user rights
- custom namespaces
Supporting links to external vocabularies
- See here
Constraints handler
- wikibase constraints work (meaning when you go to an item page, the constraints show up; will need to test myself)
Links on Wikibase installs
Add the following setting to LocalSettings.php:
$wgWBRepoSettings['formatterUrlProperty'] = 'P49';
where P49 depends on the instance (P49 on wiki.personaldata.io)
See "Hide link boxes on the right hand side of item pages" for reference.
Scripting extensions
- Scribunto
- ParserFunctions
- test for ParserFunctions: this should NOT display code.
- test for Lua here.
- Include the following three extensions for easier editing.
- Wikidata client and Lua
Embed videos
(redundant with the Widgets extension, possibly)
Query prefixes
- need to add as default prefix in the query service:
PREFIX pdio: <http://wiki.personaldata.io/entity/> PREFIX pdiot: <http://wiki.personaldata.io/prop/direct/>
For reference, this is current list:
PREFIX wd: <http://www.wikidata.org/entity/> PREFIX wdt: <http://www.wikidata.org/prop/direct/> PREFIX wikibase: <http://wikiba.se/ontology#> PREFIX p: <http://www.wikidata.org/prop/> PREFIX ps: <http://www.wikidata.org/prop/statement/> PREFIX pq: <http://www.wikidata.org/prop/qualifier/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX bd: <http://www.bigdata.com/rdf#>
Widgets
Questions
- Is it possible to have multiple namespaces for items?
- how do we fix autocomplete? (wait until default prefix is set up properly)
- why item for each property on wikidata? what is the use case?
- canonical way to refer from an item to a template? could be used to define ShEx --> Template and create ShapeMap
- hold properties and their alignment on wikidata/registry