Replace use of whitelist/blacklist in core/misc/autocomplete.js and LinkWidget.php

Created on 12 June 2020, over 4 years ago
Updated 4 September 2024, 4 months ago

Problem/Motivation

Lets remove usage of "blacklist" and "whitelist" in core/misc/autocomplete.es6.js and core/modules/link/src/Plugin/Field/FieldWidget/LinkWidget.php. This is likely to need a deprecated BC layer.

They are:

  • An historic bad labelling of people
  • Provide no context: "what is listed in them"?

Proposed resolution

Convert options.firstCharacterBlacklist to options.firstCharacterDenyList

Remaining tasks

Add deprecations as needed for the javaScript changes
Review

User interface changes

None

API changes

@todo

Data model changes

@todo

Release notes snippet

@todo

πŸ“Œ Task
Status

Needs work

Version

11.0 πŸ”₯

Component
JavascriptΒ  β†’

Last updated 3 days ago

Created by

πŸ‡¬πŸ‡§United Kingdom alexpott πŸ‡ͺπŸ‡ΊπŸŒ

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024