HomePhabricator

Do not escape quotes and double quotes in user names

Authored by WMDE-leszek on Jul 26 2016, 8:24 AM.

Description

Do not escape quotes and double quotes in user names

Quotes and double quotes are allowed as part of a user name/page title.
Other things escaped by previously used mw.html.escape, ie. <, >, &
are not allowed in a user name any way. But just in case, to stick with
current preventive behaviour, this strips those three characters
if they somehow happen to appear in the user name returned by API.

Bug: T141171
Change-Id: I08dd09dcc94823461d7e9a8b116c088c4e8ee8d5

Details

Committed
WMDE-leszekJul 26 2016, 8:24 AM
Parents
rERSL83e98ade8ceb: Merge "Don't load on Special pages"
Branches
Unknown
Tags
Unknown
ChangeId
I08dd09dcc94823461d7e9a8b116c088c4e8ee8d5