Steps to replicate the issue (include links if applicable):
- Enter a query with prefixes (such as this one
- Click the Format query button
What happens?:
- The necessary two PREFIX lines are deleted
What should have happened instead?:
PREFIX lines should have been kept unless matching pre-defined prefixes (i.e. ones already assumed by the query service)
Software version (skip for WMF-hosted wikis like Wikipedia):
Wikibase.cloud
Other information (browser name/version, screenshots, etc.):
Note that PREFIXES are necessary for wikibase.cloud instances, as compared to the Wikidata Query service