Page MenuHomePhabricator

Handle URL formatting
Open, Needs TriagePublic


To format snak values with a link, the URL formatter (P1630) is retrieved and $1 is replaced by the snak value. For some properties (P213, P345, P502, P628, P882, P1323) this simple approach fails because further formatting has to be done to produce valid links. The rules of the additional formatting can be looked up in

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptOct 14 2016, 1:12 PM
Lydia_Pintscher moved this task from incoming to monitoring on the Wikidata board.Dec 22 2017, 4:54 PM
Hjfocs renamed this task from special cases for URL formatting to Handle URL formatting.May 23 2018, 2:12 PM
Hjfocs added a subscriber: Hjfocs.May 24 2018, 8:19 AM

A folk from my team is developing a script that enriches plain URL references of a dataset serialized in QuickStatements:
It does take care of URL formatting, too.