Page MenuHomePhabricator

CreateClass cannot save and returns Bad title when there is a non-ASCII character in the special page name
Closed, ResolvedPublic

Description

In a wiki where $wgContentLanguage is "fr", when I click on Créer (Create) in CreateClass, I get an error "Bad title".

Event Timeline

Seb35 triaged this task as Medium priority.Jun 12 2016, 2:48 PM

In the form, the hidden field "title" is "Sp%C3%A9cial:CreateClass". When I remove wfUrlEncode in includes/SF_Utils.php function titleURLString, it works (tested with Firefox 47 and Opera 12.16).

Change 293968 had a related patch set uploaded (by Seb35):
CreateClass cannot save and returns Bad title when there is a non-ASCII character in the special page name

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

Change 293968 merged by jenkins-bot:
CreateClass cannot save and returns Bad title when there is a non-ASCII character in the special page name

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