Page MenuHomePhabricator

Problem adding P5048 Villie%20församling
Open, Needs TriagePublic

Description

See question: https://www.wikidata.org/wiki/Wikidata:Project_chat#Property_value_using_%20_gets_urlencoded_again_==%3E_%2520

Property:P5048 has as formatter URL //https://www.svenskakyrkan.se/$1//

For Q10715567#P5048 the value is Villie församling

Problem is that in Wikidata this generates an URL that is urlencoded that are not working. Examples

  1. Value Ville%20församling ==> https://www.svenskakyrkan.se/Villie%25%20f%C3%B6rsamling not working
  2. Value Ville församling ==> https://www.svenskakyrkan.se/Villie+f%C3%B6rsamling not working
  3. working is https://www.svenskakyrkan.se/Villie%20f%C3%B6rsamling
  4. working is https://www.svenskakyrkan.se/Villie%20församling

Event Timeline

Salgo60 created this task.Jul 27 2018, 6:21 AM

You probably want to specify the issue here, Salgo60, rather than hope that the URL you provided will work in, say, 2 weeks time. (Hint: it won't.) The post in question says:

Property value using %20 gets urlencoded again ==> %2520

{{tracked|T200496}}
Example [https://www.wikidata.org/wiki/Q10715567#P5048 Q10715567#P5048] stores '''Villie%20församling''' ==> that the URL is urlencoded and will not work

'''Question''': Any suggestion how to get this right?

  • [[User:Salgo60|Salgo60]] ([[User talk:Salgo60|<span class="signature-talk">{{int:Talkpagelinktext}}</span>]]) 06:18, 27 July 2018 (UTC)

see also T193214 which has a similar URL encoding issue.

Salgo60 updated the task description. (Show Details)Jul 28 2018, 5:07 AM

Thanks better specification done and thanks for the link

Salgo60 added a comment.EditedAug 5 2018, 11:44 AM

Another URL example with problem

  1. Q10602960
    1. correct URL Norrälje-Malsta%20församling
    2. URL Norrt%C3%A4lje-Malsta%2520f%C3%B6rsamling with problem
  2. Q15616762
Salgo60 moved this task from Backlog to Blocked on the Magnus Sälgö board.Aug 15 2018, 8:31 AM