Page MenuHomePhabricator

Rename "whitelist" and "blacklist" terms used throughout the codebase and documentation
Closed, ResolvedPublic

Description

In line with recent awareness and trends, and with a similar discussion in T254646 I'd like to propose renaming the terms "whitelist" and "blacklist" which are used extensively in this project and in relevant documentation.

Alternatives to consider might be "ignore-list" for ignored things (such as properties or items), "deny-list" for things that are actively blocked such as data from an untrusted resource, and "allow-list" for things that are actively allowed.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

This could even be a good time to be more specific about what they are:

  • ItemClassesToIgnore
  • PropertiesThatNeedNoReference
  • ExternalIdentifiersToIgnore

etc...

Agreed, which will also help alleviate some of the confusion points we ran into during development

pinging @Lydia_Pintscher, who would need to be aware of this change too :)

This could even be a good time to be more specific about what they are:

  • ItemClassesToIgnore
  • PropertiesThatNeedNoReference
  • ExternalIdentifiersToIgnore

etc...

I personally like the idea of being more concrete with what the lists really contain.