Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | Lucas_Werkmeister_WMDE | T189863 Set up SPARQL query service on FactGrid | |||
Resolved | Lucas_Werkmeister_WMDE | T192445 Install query service UI on FactGrid |
Event Timeline
Comment Actions
Currently installed in ~factgrid/wdqs-0.3.1-SNAPSHOT/gui, symlinked into /var/www/mediawiki/query to run at https://database.factgrid.de/query/. Custom patches:
diff --git a/wikibase/config.js b/wikibase/config.js index 666879c..139f281 100644 --- a/wikibase/config.js +++ b/wikibase/config.js @@ -14,16 +14,16 @@ var CONFIG = ( function ( window, $ ) { return null; } - var root = 'https://query.wikidata.org/'; + var root = 'https://database.factgrid.de/query'; var configDeploy = { - language: getUserLanguage() || 'en', + language: getUserLanguage() || 'de', api: { sparql: { uri: '/sparql' }, wikibase: { - uri: 'https://www.wikidata.org/w/api.php' + uri: 'https://database.factgrid.de/api.php' } }, i18nLoad: function( lang ) { @@ -39,7 +39,7 @@ var CONFIG = ( function ( window, $ ) { }, brand: { logo: 'logo.svg', - title: 'Wikidata Query' + title: 'FactGrid Query' }, location: { root: root,
Comment Actions
Done. Custom patches are somewhat longer now (but mostly just stuff in copyright.html), the most important part is that the API path is now /w/api.php instead of just /api.php. The build (npm run build) is copied into /var/www/query.