Page MenuHomePhabricator

AntiSpoof: Error in debug log and API should not be localised
Closed, ResolvedPublic


For example:

ILLEGAL new account '**' Contains unassigned character "☀" (U+2600)

ILLEGAL new account '**' Contiene caracteres obsoletos o no asignados

Source code:

Version: unspecified
Severity: minor

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:05 AM
bzimport set Reference to bz62863.
bzimport added a subscriber: Unknown Object (MLST).
Krinkle created this task.Mar 20 2014, 3:31 AM

It looks like the web interface, the debug log, and the API are all dependent on a message generated/localized in AntiSpoof_Body.php ( I'm not confident in my ability to fix this without doing something that feels like a horrible hack, so I'm going to unassign myself.

Noting the API in the bug title since that is also being affected by this issue:☀☀☀☀

Change 461471 had a related patch set uploaded (by Umherirrender; owner: Umherirrender):
[mediawiki/extensions/AntiSpoof@master] Do not localize antispoof error message in the logs

Umherirrender added a subscriber: Umherirrender.

It would work when using a Status object inside the code and giving it the language you want when converting to a string

Kept the api as is, because it already returns the language you want, when giving it a uselang=☀☀&uselang=en

Change 461471 merged by jenkins-bot:
[mediawiki/extensions/AntiSpoof@master] Do not localize antispoof error message in the logs

Legoktm closed this task as Resolved.Sep 23 2018, 12:18 AM