Page MenuHomePhabricator

Message Editor URL: Handle messages with spaces better
Closed, ResolvedPublic

Description

Fix issue with incorrect editor URL generated for message keys having spaces in them. It replaces spaces with underscore which when followed does not open the message.

For example: hello world is changed to hello_world in the URL, but instead what's expected is hello+world

Event Timeline

Change 732473 had a related patch set uploaded (by Abijeet Patro; author: Abijeet Patro):

[mediawiki/extensions/Translate@master] MessageHandle: Improve handling of spaces in getInternalKey()

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

Change 732473 merged by jenkins-bot:

[mediawiki/extensions/Translate@master] MessageHandle: Improve handling of spaces in getInternalKey()

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

Tested this locally and on titles without spaces on Translatewiki. I cannot see any titles with spaces on Translatewiki, so closing this and will create a separate task if we notice such issues.