Page MenuHomePhabricator

AbstractFilter::getActions and ::getActionsNames might be inconsistent
Open, Needs TriagePublic

Description

In AbstractFilter, when you provide $actions using callable and call getActionsNames before getActions, you will not get the names from the callable. If you do it after getActions, the result will be different.

See https://gerrit.wikimedia.org/r/c/mediawiki/extensions/AbuseFilter/+/703880 for context.