Page MenuHomePhabricator

WBQS name/title should not be DockerWikibaseQueryService
Closed, ResolvedPublic

Description

Steps to replicate the issue (include links if applicable):

  • git checkout origin/deploy-3
  • (.env configured)
  • docker compose up

What happens?:

The WBQS instance name (top left) is DockerWikibaseQueryService. I see this is configured as:

build/WDQS-frontend/Dockerfile:    BRAND_TITLE=DockerWikibaseQueryService\

What should have happened instead?:

To appear a proper name for the instance. Maybe the value from WDQS_FRONTEND_PUBLIC_HOST? I'm not sure.

Software version (skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

By the way, the WDQS_FRONTEND_PUBLIC_HOST variable at deploy/.env probably should be named WBQS_FRONTEND_PUBLIC_HOST :-)

Event Timeline

Olea renamed this task from BRAND_TITLE=DockerWikibaseQueryService should be to WBQS name/title should not be DockerWikibaseQueryService .Jul 18 2024, 7:06 PM
roti_WMDE subscribed.

Hi @Olea,

thanks a lot for contacting us.

The BRAND_TITLE for the WDQS frontend is configurable as described here: https://github.com/wmde/wikibase-release-pipeline/tree/deploy-3/build/WDQS-frontend#environment-variables

You can set the environment variable in docker-compose.yml like this:

diff --git a/deploy/docker-compose.yml b/deploy/docker-compose.yml
index 336ffb2..9ac7fb9 100644
--- a/deploy/docker-compose.yml
+++ b/deploy/docker-compose.yml
@@ -135,6 +135,7 @@ services:
       - "traefik.http.routers.wdqs-frontend.rule=Host(`${WDQS_FRONTEND_PUBLIC_HOST}`)"
     environment:
       WDQS_HOST: wdqs-proxy
+      BRAND_TITLE: "My Query Service 💕"
     healthcheck:
       test: curl --silent --fail localhost
       interval: 10s

The new string will be visible in the top left of the WDQS frontend page.

image.png (251×808 px, 83 KB)

Hope that helps!

By the way, the WDQS_FRONTEND_PUBLIC_HOST variable at deploy/.env probably should be named WBQS_FRONTEND_PUBLIC_HOST :-)

True, having the query service name reference Wikidata is misleading. The product at https://query.wikidata.org and the software powering it got the same name. Given that the name is widely used, I personally think changing it is not worth the effort and will only create more confusion.

Best,
Robert

Closing this now. Feel free to reopen it or create a new ticket for a followup.

Best,
Robert