MaRDI4NFDI / portal-compose

docker-composer repo for mardi
https://portal.mardi4nfdi.de
GNU General Public License v3.0
3 stars 1 forks source link

Create LinkedWiki.php #360

Closed physikerwelt closed 1 year ago

physikerwelt commented 1 year ago

Enable linked wiki

Close #359

MaRDI Pull Request

Changes:

Instructions for PR review:

Checklist for this PR:

eloiferrer commented 1 year ago

@physikerwelt I added some LinkedWiki parameters in LocalSettings, to read data from our Wikibase instance. Otherwise LinkedWiki just reads data from Wikidata

physikerwelt commented 1 year ago

Ok. I was thinking maybe we can test with Wikidata first. However, that might be optional. Can you move to config to the same file, so that all the config regarding the extension is in one place?

eloiferrer commented 1 year ago

I think it should still be possible to just query wikidata, but it will not be the default. We can use for instance {{#sparql: select * where { ?x ?y ?z . } LIMIT 5 | config=http://www.wikidata.org }}

eloiferrer commented 1 year ago

@physikerwelt are you able to pull the last docker-wikibase image in production? I think this crashed the portal because it does not find the extension yet.

physikerwelt commented 1 year ago

Yes, I did run docker compose pull in portainer;-)