WikidataFacts created this task. Herald added subscribers: Zppix, Aklapper. Herald added a project: Discovery.
TASK DESCRIPTION It would be useful if WDQS URL-escaped parentheses (`()`) in the address it builds from the query (https://query.wikidata.org/#QUERY_GOES_HERE). For example, Twitter sometimes thinks that the parentheses are not part of the link, and so you have to escape them manually (**Workaround:** `xclip -o | sed 's/(/%28/g;s/)/%29/g' | xclip`). This is similar to https://phabricator.wikimedia.org/T40265, in that it could be considered a bug in another application (here, Twitter), but as WDQS URLs are already not really readable (nor, I think, intended to be), I hope you’ll still consider mitigating it on the WDQS end. To clarify: entering and running the query SELECT (COUNT(?human) AS ?count) WHERE { ?human wdt:P31 wd:Q5. } should result in the URL > https://query.wikidata.org/#SELECT%20%28COUNT%28%3Fhuman%29%20AS%20%3Fcount%29%0AWHERE%20%7B%20%3Fhuman%20wdt%3AP31%20wd%3AQ5.%20%7D and not > https://query.wikidata.org/#SELECT%20(COUNT(%3Fhuman)%20AS%20%3Fcount)%0AWHERE%20%7B%20%3Fhuman%20wdt%3AP31%20wd%3AQ5.%20%7D . TASK DETAIL https://phabricator.wikimedia.org/T135956 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: WikidataFacts Cc: Aklapper, Zppix, WikidataFacts, Avner, debt, Gehel, D3r1ck01, FloNight, Izno, jkroll, Smalyshev, Wikidata-bugs, Jdouglas, aude, Deskana, Manybubbles, Mbch331 _______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
