[Wikidata-bugs] [Maniphest] [Commented On] T197682: URIs returned by Query Service contain docker network name

2018-09-18 Thread despens
despens added a comment.
What hast worked is setting WIKIBASE_HOST in the docker-compose file to the actual public hostname and in the Wikibase's LocalSettings.php adding an explicit concep URI prefix *with http protocol*, like `$wgWBRepoSettings['conceptBaseUri'] = "http://staging.catalog.rhizome.org/";TASK DETAILhttps://phabricator.wikimedia.org/T197682EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: despensCc: tk, Aklapper, Addshore, despens, Lahi, Gq86, GoranSMilovanovic, QZanden, Gstupp, LawExplorer, Abbe98, Wikidata-bugs, aude, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T197682: URIs returned by Query Service contain docker network name

2018-07-03 Thread tk
tk added a comment.
The --conceptUri URL parameter of runUpdate.sh should do the work.

https://www.mediawiki.org/wiki/Wikidata_Query_Service/User_Manual#runUpdate.shTASK DETAILhttps://phabricator.wikimedia.org/T197682EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: tkCc: tk, Aklapper, Addshore, despens, Lahi, Gq86, GoranSMilovanovic, QZanden, Gstupp, LawExplorer, Abbe98, Wikidata-bugs, aude, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T197682: URIs returned by Query Service contain docker network name

2018-06-26 Thread Addshore
Addshore added a comment.
So the "hack" that we have for the wikibase-registry is adding the following to the mediawiki service:

networks:
  default:
aliases:
 - wikibase.svc
 - wikibase-registry.wmflabs.org




In T197682#4304627, @despens wrote:
Is the WIKIBASE_HOST variable used for both communication with Wikibase and the URI prefix?


Yes

I think that in the frame of this docker compose install, it is unlikely that a user would want to point to another Wikibase host, but might want to just configure the prefix. This seems important when switching from staging to production.

Some peoples use cases do actually want to do this.
Would 2 env vars firs this for you? or is the network alias suitable?TASK DETAILhttps://phabricator.wikimedia.org/T197682EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: AddshoreCc: Addshore, despens, Aklapper, Lahi, Gq86, GoranSMilovanovic, QZanden, Gstupp, LawExplorer, Abbe98, Wikidata-bugs, aude, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs