Page MenuHomePhabricator

"ex" evaluates to 14 in AbuseFilterParser
Closed, ResolvedPublic

Description

While trying to introduce new filtering functions, I noticed a weird and funny bug: if you type ex in Special:AbuseFilter/tools (without quotes), it'll evaluate to 14. I'm not sure why, but this must not happen.

Event Timeline

Change 481635 had a related patch set uploaded (by Daimona Eaytoy; owner: Daimona Eaytoy):
[mediawiki/extensions/AbuseFilter@master] Fix the regex for numbers, start deprecation of non-decimal numbers

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

Change 481635 had a related patch set uploaded (by Daimona Eaytoy; owner: Daimona Eaytoy):
[mediawiki/extensions/AbuseFilter@master] Fix the regex for numbers, start deprecation of non-decimal numbers

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

Change 481635 merged by jenkins-bot:
[mediawiki/extensions/AbuseFilter@master] Fix the regex for numbers, start deprecation of non-decimal numbers

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

Daimona removed a project: Patch-For-Review.

This is done, for the rest we have the parent task.