Difference between revisions of "Wikibase options"

From Wikibase Personal data
Jump to navigation Jump to search
Line 55: Line 55:
  
 
== Links on Wikibase installs ==
 
== Links on Wikibase installs ==
* [https://stuff.coffeecode.net/2018/wikibase-workshop-swib18.html "Hide link boxes on the right hand side of item pages"]
+
 
 +
Add the following setting to ''LocalSettings.php'':
 +
 
 +
$wgWBRepoSettings['formatterUrlProperty'] = 'P49';
 +
 
 +
where P49 depends on the instance (P49 on wiki.personaldata.io)
 +
 
 +
See [https://stuff.coffeecode.net/2018/wikibase-workshop-swib18.html "Hide link boxes on the right hand side of item pages"] for reference.
  
 
== Scripting extensions ==
 
== Scripting extensions ==

Revision as of 14:50, 12 March 2019

Options for configuration

Main services

  • Wikibase
  • WDQS
  • WDQS backend
  • QuickStatements

Features

Gadgets

"The Gadgets extension provides a way for users to pick JavaScript or CSS based "gadgets" that other wiki users provide."


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

** Special:NewItem|New item
** Special:NewProperty|New property

User rights and namespaces

Supporting links to external vocabularies

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

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 two namespaces for items?
  • how do we fix autocomplete? (wait until default prefix is set up properly)

See also