Page MenuHomePhabricator

Add urldecode function
Closed, ResolvedPublic


There are several use cases (e.g. T168877) where the data comes as encoded and needs to be matched against un-encoded data, or vice versa, and while encode_for_uri() function allows encoding, there's no function for decoding.

We may also want to add mediawiki encoding (replacing ' ' with '_' and other things, as in T131960).

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Smalyshev triaged this task as Medium priority.Jun 27 2017, 7:08 PM

Change 361910 merged by jenkins-bot:
[wikidata/query/rdf@master] Add new functions to WDQS

The function is wikibase:decodeUri.