Page MenuHomePhabricator

syntaxhighlight doesn't highlight "VALUES" in SPARQL
Closed, ResolvedPublic

Description

Hi,

For some reason, at least the "VALUES" keyword in language SPARQL is not recognize by syntaxhighlight.

See for instance https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples#Wikidata_items_of_Wikipedia_articles where VALUES is in black but should be highlighted in red.

PS: I've checked, this is standard SPARQL (see https://www.w3.org/TR/sparql11-query/#inline-data-syntax ).

Event Timeline

LucasWerkmeister changed the task status from Open to Stalled.Oct 2 2020, 9:34 PM

Upstream pull request was merged, but the next release might take a while…

The upstream change is included in the released version 2.7.2. Not sure what that means when deploying new versions somehow on Wikimedia servers though.

@ori updated Pygments recently (I0be3c1c204), so we should only need to wait for the wmf.20 rollout (T263186) now.

Aklapper changed the task status from Stalled to Open.Dec 29 2020, 1:25 PM

updated Pygments recently (I0be3c1c204), so we should only need to wait for the wmf.20 rollout now.

wmf.20 was deployed; is there more to do here or can this be resolved?

Verification doesn’t hurt:

Screenshot_2020-12-29 Wikidata SPARQL query service queries examples - Wikidata.png (561×1 px, 96 KB)

It works \o/