Fix missing hyphens for prefixes - Words starting with "re"

Created on 18 February 2022, almost 3 years ago
Updated 28 June 2024, 6 months ago

Problem/Motivation

Quoted from parent issue:

Discovered at #2972224: Add .cspell.json to automate spellchecking in Drupal core , and pointed by @xjm in https://www.drupal.org/project/drupal/issues/3122088#comment-13628724 📌 [Meta] Remove spelling errors from dictionary.txt and fix them Active

@xjm:

Should be hyphenated (un-assign, de-prioritize, re-render, etc.)

There's an interesting question of where to draw the line for these. Generally in English these prefixes are morphologically productive with a hyphen, and get de-hyphenated when the word is adopted into common usage. "Denormalize", "Unsanitized", "Uninstantiated" etc. are all obviously in common usage in programming. "Unsticky", "Unrevisionable", and the like are Drupal terminology, and I'm surprised that "unpublish" and friends aren't already in the main dictionary.

The parent issue tried to fix all words that should be hyphenated, but the patch for this was getting too big thus making it tricky to review. Also there were some debate about which words should be hyphenated, and which shouldn't. So they argued it would be better to separate the issue into 3 smaller ones (one each for words starting with 're', 'de' and 'un'). (see comment links bellow)

#3138768 #26.2 📌 [Meta] Fix flagged spelling errors due to missing hyphens for prefixes Active @xjm talks about the presave word and suggests to divide the issue.
#3138768 #31 📌 [Meta] Fix flagged spelling errors due to missing hyphens for prefixes Active @longwave agrees to divide the issue and says it's getting tricky to review.
#3138768 #36 📌 [Meta] Fix flagged spelling errors due to missing hyphens for prefixes Active @davidhernandez questions about if some words should be hyphenated.
#3138768 #38 📌 [Meta] Fix flagged spelling errors due to missing hyphens for prefixes Active @quietone agrees with @longwave about creating separated issues.

Proposed resolution

Check and decide as a group, with first-language speakers contributing, which of the following words are correct in Drupal and which should be hyphenated, then fix them as needed on the code.

  1. rebuilder
  2. reindexing
  3. resave
  4. resaved
  5. resaving
  6. restripe
  7. restriped
  8. rethrown
  9. reuploading

Remaining tasks

  1. Decide as a group what to do with each word.
  2. Remove and fix the words as defined by the group.
  3. Review.
  4. Commit.

User interface changes

API changes

Data model changes

Release notes snippet

📌 Task
Status

Needs work

Version

11.0 🔥

Component
Documentation 

Last updated 1 day ago

No maintainer
Created by

🇧🇷Brazil andregp

Live updates comments and jobs are added and updated live.
  • Novice

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

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