Skip to content

WDQS server names displayed without spaces #2668

@egonw

Description

@egonw

Describe the bug
The WDQS name is not shown correctly when using the new config, and spaces seem to get removed:

Image

To Reproduce
Steps to reproduce the behavior. Update any SPARQL query with the following SPARQL-level config:

#sparql_endpoint = https://query.wikidata.org/sparql
#sparql_endpoint_name= WDQS main
#sparql_editurl = https://query.wikidata.org/#
#sparql_embedurl = https://query.wikidata.org/embed.html#

Note the name in the second line, which has the space.

Look up the aspect with the SPARQL query you changes, run the local server, and see how the space is dropped. (Also with multiple spaces in the EP name)

Expected behavior
The UI should include the space, as given in the config.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugsomething wrong on our end

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions