Page MenuHomePhabricator

Hiwikibooks abuse filter account is not registered but appears as an admin
Open, Needs TriagePublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

It says "User account "दुरुपयोग फ़िल्टर" is not registered."

Event Timeline

Possible a NFC-normalized Unicode problem

Using the urlencoded user in a api call:
https://hi.wikibooks.org/w/api.php?action=query&list=users&ususers=%E0%A4%A6%E0%A5%81%E0%A4%B0%E0%A5%81%E0%A4%AA%E0%A4%AF%E0%A5%8B%E0%A4%97_%E0%A5%9E%E0%A4%BF%E0%A4%B2%E0%A5%8D%E0%A4%9F%E0%A4%B0
gives the following result:

"warnings": {
        "users": {
            "*": "The value passed for \"ususers\" contains invalid or non-normalized data. Textual data should be valid, NFC-normalized Unicode without C0 control characters other than HT (\\t), LF (\\n), and CR (\\r)."
        }
    },
    "query": {
        "users": [
            {
                "name": "\u0926\u0941\u0930\u0941\u092a\u092f\u094b\u0917 \u092b\u093c\u093f\u0932\u094d\u091f\u0930",
                "missing": ""
            }
        ]
    }

Using the api part for Special:ListUsers/sysop that gives the same string https://hi.wikibooks.org/w/api.php?action=query&list=allusers&augroup=sysop as existing user

{
    "userid": 6537,
    "name": "\u0926\u0941\u0930\u0941\u092a\u092f\u094b\u0917 \u092b\u093c\u093f\u0932\u094d\u091f\u0930"
}