Page MenuHomePhabricator

Nearby doesn't work with umlauts as page title
Closed, ResolvedPublic

Description

In Nearby, you can specify a page name, where you want to see related pages in the near in Nearby. This works fine as long as you doesn't have special characters in the URL, which are URL encoded, e.g. this URL will not show anything:
https://de.wikipedia.org/wiki/Spezial:In_der_N%C3%A4he#/page/K%C3%B6lner_Dom

API response from GeoData:

{"servedby":"mw1143","error":{"code":"ggs_invalid-page","info":"Invalid page title ``K%C3%B6lner_Dom'' provided","docref":"See https://de.wikipedia.org/w/api.php for API usage"}}

Event Timeline

Florian created this task.Dec 27 2015, 7:32 PM
Florian claimed this task.
Florian raised the priority of this task from to Needs Triage.
Florian updated the task description. (Show Details)
Florian added a project: MobileFrontend.
Florian added a subscriber: Florian.
Restricted Application added subscribers: StudiesWorld, Aklapper. · View Herald TranscriptDec 27 2015, 7:32 PM

Change 261157 had a related patch set uploaded (by Florianschmidtwelzow):
Fix url decoding in Nearby's #/page/ feature

https://gerrit.wikimedia.org/r/261157

What is linking to the version with the page name encoded?

Nothing at the moment, I thought it is used in a "near this page" button at the bottom of a page, but it isn't (anymore). But a user can link to this page.

Change 261157 merged by jenkins-bot:
Fix url decoding in Nearby's #/page/ feature

https://gerrit.wikimedia.org/r/261157

Jdlrobson closed this task as Resolved.Dec 28 2015, 5:57 PM
Jdlrobson added a subscriber: Jdlrobson.