Problem/Motivation

Follow up #2972224: Add .cspell.json to automate spellchecking in Drupal core, Drupal core now uses cspell for spell checking, but there are loads of real spelling mistakes in the first iteration of the core/misc/dictionary.txt which has 2,262 words.

Proposed resolution

Identify and remove all spelling errors from the dictionary.
Valid technical terms or abbreviations remain in the dictionary. One example is 'nntp'.

Spreadsheet of words and notes.

How to work on the child issues

  • Refer to cspell to learn how to work with cspell.
  • Changed text must wrap at 80 columns per coding standards.
  • Changed text must be US English.

Issues fixing spelling errors

  1. #3210125: Fix spelling in core.* yml files
  2. Issue(s) needed for groups of words such as revisionable, revisioned, revisionid, revisioning, unrevisionable

Other

  1. #3153919: Rename dictionary.txt file to drupal.dic to make it compatible with PhpStorm on Linux
  2. #3397353: Keep dictionary in sync
  3. #3390959: Test for words in 'cspell:ignore' that can be removed

Remaining tasks

  • Review words in core/misc/cspell/dictionary.txt, identity misspelled ones.
  • Group the misspellings into manageable issues by component/system so they can be reviewed in context.
  • Spreadsheet of words and notes to help determine a scope
  • Avoid issue scope for words beginning with a letter.
  • Create a child issues for the suggested scope
  • Needs a follow-up for #3138788 comment-12.1
  • Follow up to enable case-sensitivity after other spellings issues are fixed.

Number of words in the dictionaries

Date dictionary.txt drupal-dictionary.txt Total
2020-06-21 2,262 0 2,262
2024-02-03 972 13 985

User interface changes

API changes

Data model changes

Release notes snippet

CommentFileSizeAuthor
#37 word-data.ods372.08 KBquietone

Issue fork drupal-3122088

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jungle created an issue. See original summary.

apaderno’s picture

dww’s picture

Title: Go through the .cspell.json to remove spelling errors from the word list and fix them » [META] Go through the .cspell.json to remove spelling errors from the word list and fix them
dww’s picture

Issue summary: View changes

Moved the list of British words to #3138718: Convert British English spellings to American English, for the umpteenth time
Updated remaining tasks to be more accurate for this as a meta.

jungle’s picture

Issue summary: View changes

Add a note to IS mentioning potential changes: wrapped too early or over 80 chars.

jungle’s picture

Issue summary: View changes

Fixing typo: Wrappred -> Wrapped 🤦

xjm’s picture

Just as a note, we definitely shouldn't do a single issue for every misspelling. The current ones are OK since miscellaneous bad @inheritdoc are a phpdoc issue, not just a spelling issue, and incompatitable we'll just fix as it's silly. (Edit: There is also an anecdote for that; somehow it got added to @tedbow's PHPStorm dictionary as a real word.) That said though, let's lean more toward scoping like #3138718: Convert British English spellings to American English, for the umpteenth time.

xjm’s picture

Miscellanea:

  1. +++ b/core/.cspell.json
    @@ -0,0 +1,1288 @@
    +      "Becalled",
    ...
    +      "Isnew",
    ...
    +      "describedby",
    

    a shouldBeCamelCased category.

  2. +++ b/core/.cspell.json
    @@ -0,0 +1,1288 @@
    +      "Cachable",
    +      "Cacheablity",
    +      "Cacheble",
    

    This could be an issue.

  3. +++ b/core/.cspell.json
    @@ -0,0 +1,1288 @@
    +      "DONT",
    ...
    +      "Dont",
    ...
    +      "dont",
    

    Unless this is French, it should probably be DoNot/DO_NOT in code and Don't or Do not in text. There may be a whole category in here of contractions without their apostrophes.

  4. +++ b/core/.cspell.json
    @@ -0,0 +1,1288 @@
    +      "Deduplicates",
    ...
    +      "Reimplement",
    ...
    +      "Reparenting",
    ...
    +      "Rerender",
    +      "Resaving",
    +      "Rethrown",
    +      "Reuploading",
    ...
    +      "Unassigns",
    ...
    +      "Unclickable",
    +      "Ungroupable",
    +      "Ungrouped",
    +      "Unhide",
    ...
    +      "Unknow",
    ...
    +      "Unpad",
    ...
    +      "Unprefix",
    ...
    +      "Unrouted",
    ...
    +      "deprioritize",
    ...
    +      "reimplementing",
    +      "reindex",
    +      "reindexing",
    +      "reinitializes",
    +      "reinject",
    ...
    +      "renormalize",
    +      "reparenting",
    ...
    +      "rerender",
    +      "rerendered",
    +      "rerendering",
    +      "resaved",
    +      "resaving",
    ...
    +      "rethrown",
    ...
    +      "undecorate",
    ...
    +      "ungroup",
    +      "ungroupable",
    +      "ungrouped",
    +      "unhashed",
    +      "unhide",
    +      "unindented",
    +      "unindexed",
    ...
    +      "unitalicize",
    +      "unkeyed",
    ...
    +      "unpermissioned",
    ...
    +      "unrendered",
    ...
    +      "unshortened",
    

    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.

  5. +++ b/core/.cspell.json
    @@ -0,0 +1,1288 @@
    +      "Dependee",
    +      "Dependees",
    ...
    +      "dependee",
    +      "dependee's",
    +      "dependees",
    

    The word is "dependents". This is all up in our States API, so would need an issue with deprecation and all that.

  6. +++ b/core/.cspell.json
    @@ -0,0 +1,1288 @@
    +      "Disalbe",
    

    "Disable"

  7. +++ b/core/.cspell.json
    @@ -0,0 +1,1288 @@
    +      "Doesnt",
    

    Some tests have this in some method names. Should be DoesNot.

  8. +++ b/core/.cspell.json
    @@ -0,0 +1,1288 @@
    +      "Monocerus",
    ...
    +      "moncerus",
    +      "monocerus",
    

    Should be "Monoceros". A lot of variations of that one...

  9. +++ b/core/.cspell.json
    @@ -0,0 +1,1288 @@
    +      "Nouriture",
    

    French is "Nourriture" (two Rs). So this is a case of it being a word in another language yet still misspelled. :) I confirmed it's supposed to be French where it's used in tests.

  10. +++ b/core/.cspell.json
    @@ -0,0 +1,1288 @@
    +      "OR'd",
    ...
    +      "ORed",
    

    Neither is actually a word, but let's standardize on ORed.

  11. +++ b/core/.cspell.json
    @@ -0,0 +1,1288 @@
    +      "Partialy",
    

    Partially.

  12. +++ b/core/.cspell.json
    @@ -0,0 +1,1288 @@
    +      "Piccasso",
    

    Picasso.

  13. +++ b/core/.cspell.json
    @@ -0,0 +1,1288 @@
    +      "Protectected",
    

    "Protected"

  14. +++ b/core/.cspell.json
    @@ -0,0 +1,1288 @@
    +      "Reponse",
    

    Presumably "response".

  15. +++ b/core/.cspell.json
    @@ -0,0 +1,1288 @@
    +      "autcomplete",
    

    "autocomplete"

  16. +++ b/core/.cspell.json
    @@ -0,0 +1,1288 @@
    +      "blockqoute",
    

    "blockquote"

  17. +++ b/core/.cspell.json
    @@ -0,0 +1,1288 @@
    +      "bubleable",
    

    "bubbleable" is our non-word word, unless this is like the French translation.

  18. +++ b/core/.cspell.json
    @@ -0,0 +1,1288 @@
    +      "compatibilty",
    +      "compatiblity",
    

    compatibility

  19. +++ b/core/.cspell.json
    @@ -0,0 +1,1288 @@
    +      "configuruation",
    

    "configuration"

  20. +++ b/core/.cspell.json
    @@ -0,0 +1,1288 @@
    +      "copmplete",
    

    "complete"

  21. +++ b/core/.cspell.json
    @@ -0,0 +1,1288 @@
    +      "cotrol",
    

    Probably "control".

  22. +++ b/core/.cspell.json
    @@ -0,0 +1,1288 @@
    +      "crema",
    

    Huh, this is totally an English word now. Loanword, yes, but totally in the dictionary.

  23. +++ b/core/.cspell.json
    @@ -0,0 +1,1288 @@
    +      "decription",
    

    "description"

  24. +++ b/core/.cspell.json
    @@ -0,0 +1,1288 @@
    +      "dependening",
    

    Probably "depending"

  25. +++ b/core/.cspell.json
    @@ -0,0 +1,1288 @@
    +      "emtity",
    ...
    +      "entites",
    

    Obviously supposed to be about entities.

  26. +++ b/core/.cspell.json
    @@ -0,0 +1,1288 @@
    +      "nsync",
    

    This is thankfully mis-flagged from "i18nsync", not the 90s boy band. Bye, bye, bye.

  27. +++ b/core/.cspell.json
    @@ -0,0 +1,1288 @@
    +      "ntaxonomy",
    

    Similarly just a mis-parsed part of "i18ntaxonomy".

  28. +++ b/core/.cspell.json
    @@ -0,0 +1,1288 @@
    +      "readibly",
    

    In context, it's supposed to be "readily".

  29. +++ b/core/.cspell.json
    @@ -0,0 +1,1288 @@
    +      "snafoos",
    

    I think the standard spelling is "snafus".

  30. +++ b/core/.cspell.json
    @@ -0,0 +1,1288 @@
    +      "strenght",
    

    "strength"

xjm’s picture

I think the obvious individual typos above could be fixed in one issue.

jungle’s picture

Assigned: Unassigned » jungle

Thanks @xjm for the list!

#8 .26 Bye bye bye in the album no STRINGs attached :p, one of my favorite bands. Assigning to me to file a bunch of child issues per #8

xjm’s picture

Issue summary: View changes

Correcting a British spelling in the IS. 😂

jungle’s picture

Assigned: jungle » Unassigned

Done.

  1. #8.1 #3138746: Fix 45 "shouldBeCamelCased" and related typos in core
  2. #8.2 #3138749: Fix "cache" related typos
  3. #8.3 #3138766: Fix "Don't" relevant typos in core
  4. #8.4 #3138768: [Meta] Fix flagged spelling errors due to missing hyphens for prefixes
  5. #8.5 #3138770: Replace incorrect words for Dependee in States API
  6. #8.6 #3138772: Fix "Disable" relevant typos in core
  7. #8.7 #3138774: Fix "DoesNot" relevant typos in core
  8. #8.8 #3138775: Fix "Monoceros" relevant typos in core
  9. #8.9 #3138778: Fix "Nourriture" relevant typos in core
  10. #8.10 #3138781: Standardize "ORed", "ANDed", etc. in core.
  11. #8.11 #3138783: Fix "Partially" relevant typos in core
  12. #8.12 #3138785: Fix "Picasso" relevant typos in core
  13. #8.13 #3138786: Fix "Protected" relevant typos in core
  14. #8.14 #3138787: Fix "response" relevant typos in core
  15. #8.15 #3138788: Fix "autcomplete" typos in core
  16. #8.16 #3138789: Fix "blockquote" relevant typos in core
  17. #8.17 #3138791: Fix "bubbleable" relevant typos in core
  18. #8.18 #3138792: Fix "compatibility" relevant typos in core
  19. #8.19 #3138793: Fix "configuration" relevant typos in core
  20. #8.20 #3138795: d6_term_node_revision references non-existent migration
  21. #8.21 #3138796: Fix the typos "cotrol" and make the one-line summaries containing it conform to standards)
  22. #8.22 "crema" skipped
  23. #8.23 #3138799: Fix "description" relevant typos in core
  24. #8.24 Added "depending" to #3138770: Replace incorrect words for Dependee in States API.
  25. #8.25 #3138800: Fix "entity" relevant typos in core
  26. #8.26 "nsync" in "i18nsync", skipped
  27. #8.27 "ntaxonomy" in "i18ntaxonomy", skipped
  28. #8.28 #3138801: Fix "readily" relevant typos in core
  29. #8.29 #3138802: Fix "snafus" relevant typos in core
  30. #8.30 #3138803: Fix "strength" relevant typos in core
dww’s picture

Re: #12, wow, thanks! That clearly took a lot of effort. Unfortunately, you missed #9:

I think the obvious individual typos above could be fixed in one issue.

I suspect @xjm will want to consolidate a bunch of these. I don't trust myself to make decisions about scope, so I'll defer to whatever xjm and other core committers say on how to proceed.

But I see our eager contributor community for trivial patches is already uploading fixes to many of these, so maybe by the time we try to consolidate, it'll be easier to just commit and move on instead of trying to merge things. /shrug

jungle’s picture

Oh, my... sorry!!! missed #9 completely!

Hoping it is not too bad, maybe. Some of them are not just typos, e.g. the "cache" one.

jungle’s picture

My non-native-English-speaker eyes can only see what I am focusing on. 🤦 If #9 is in Chinese, I guess I could notice it out of the corner of my eye early. 😂

jungle’s picture

BTW, It's my mistake, I am willing to merge some of them myself to let them have a better scope if one of the committers asks me to do so.

I would do:

  1. List contributors from being merged ones to the remaining one(s), to help committer(s) giving credits easier.
  2. Merging patches and reupload merged patch(es) to the remaining one(s).
jungle’s picture

Issue summary: View changes

Added a kanban board, everyone can CRUD it, @see https://contribkanban.com/node-board/a9703fb6-a0bc-4dd9-bbe1-4ba065871276

longwave’s picture

Initially I thought the individual issues should be merged, but having reviewed three of them I think they are worth keeping separate, as when there are multiple cases and code changes are required it seems better to be able to pick over the details in individual issues.

alexpott’s picture

I think this should be postponed on #2972224: Add .cspell.json to automate spellchecking in Drupal core otherwise the child issues we're doing can regress. And we have to can the wordlist all the time. There's no winning and stay winning if we fix these first.

sja112’s picture

Assigned: Unassigned » sja112

Few more pending items,

1. attibute should be attribute

2. defintion should be definition

3. propegated should be propagated

4. traslation should be translation

5. s\'il should be s'il

6. O\'Bar' should be O'Bar"

7. Prefech should be Prefetch

These were part of patch #50 Try to automate spellchecking in Drupal core but now as are fixing this in followups. I am working on it.

jungle’s picture

Status: Active » Postponed

@sja112, Re #20, better to wait for more feedbacks about the scope. whether to merge some of them or not. I missed #9 already which is a mistake, even though @longwave agreed in #18, from my understanding.

let's postpone this and all child issues on #2972224: Add .cspell.json to automate spellchecking in Drupal core

Thanks!

sja112’s picture

Assigned: sja112 » Unassigned
xjm’s picture

I disagree with #19, but whatever.

Can we postpone each of the child issues and paste a message to not work on them yet? We don't want novices to invest effort only to haveg the patches rejected for scoping issues.

There are two kinds of spelling errors: Code spelling errors and comment spelling errors. Comment spelling errors don't need dedicated issues. Code spelling errors probably do.

xjm’s picture

Since we have a 50 K patch already in #3138718: Convert British English spellings to American English, for the umpteenth time, I think we should at least resolve that one and reroll the word list accordingly rather than postponing it until it goes stale.

xjm’s picture

The way I would do this is create issues in stages. Start with an obvious cluster, and/or something that requires API changes, and file issues for those. Whittle the list down by the significant clusters first, splitting those into smaller issues if they are too unwieldy, and then work on what is left. That way, we don't spend too much time filing and committing issues for one typo.

jungle’s picture

#3138778: Fix "Nourriture" relevant typos in core
#3138783: Fix "Partially" relevant typos in core
#3138772: Fix "Disable" relevant typos in core
#3138789: Fix "blockquote" relevant typos in core

Would be appreciated if committers could help to remove my credits from the above issues. They made me reached the milestone of 100 credits in Core yesterday and I hoped that I could get 100 credits in Core before the Drupal 9 release day. But I am not happy with it. It's a behaviour of credit gaming, I did file issue only by copying/pasting/quoting, I should not be giving credits.

Thanks!

catch’s picture

Posting an issue is fine for issue credit, even for trivial issues, it takes more work than some RTBCs.

The thing that could have been done differently here is grouping all the straightforward spelling errors into larger patches (i.e. by phpdoc, by test content, then one for variable and method names) to have a smaller number of issues.

xjm’s picture

Agreed with #27; sometimes, posting the issue is most of the work so we give credit for a helpful initial issue writeup. Especially for the first few children of a large meta. Yours had clear instructions, included references, etc. so it is a worthwhile contribution.

Since there were issues at RTBC already because we didn't manage to postpone them fast enough, it was less emotional labor to just commit the ones that only needed to fix a single typo, even though that's not something we'd credit normally.

What I suggest we do after those simple issues are in is update the patch dictionary (or the committed one if the issue is in by then). Then, take that file and:

  1. Start by creating a sub-list of things that are definitely real words in Drupal and relevant technologies, like "Bartik", "Behat", "Buytaert", etc. Post that list on this issue and get consensus on it.
     

  2. Write a script that loops over the rest of the list, looks for the matches with grep -ri to see what the context is, and store that output after the word.
     

  3. Post that document to the issue, so we can review it together.
     

  4. Use that information to add any additional items to the dictionary from #1 that are appropriate based on the added context.
     

  5. Group the patches according to the scope guidelines, e.g., one patch to fix testMethodsThatareIncorrectlyCamelCased(), one patch to fix all the one-off typos in documentation that don't appear in any UIs or APIs, individual patches as appropriate to deprecate spelling errors in APIs on a per-API basis, one patch per functional bug to fix said bug with test coverage, etc.
     

  6. File issues for those, starting with a few at a time to make sure the issue scopes make sense.
     

alexpott’s picture

Another possible stream of things to do is to propose updates to the cSpell dictionaries. For example there are PHP words in list that should probably be a part of https://github.com/streetsidesoftware/cspell-dicts - for example curle since this is from the PHP constant CURLE_OK. And there might be stuff for the html and computer terms dictionaries. If we improve the upstream dictionaries that'd be a really nice outcome for Drupal giving back.

jungle’s picture

Status: Postponed » Active

#2972224: Add .cspell.json to automate spellchecking in Drupal core was in. Thanks, @catch and @xjm for the replies about the credit thing.

jungle’s picture

Issue summary: View changes

Adding "Needs a follow-up for #3138788 comment-12.1" to IS, because It's a bit hard for me to do it myself. And I am going to remove the "Needs followup" tag from that issue.

jungle’s picture

BTW. Just set back 2 RTBC'ed child issues to NW for rerolling. The other 2 RTBC'd ones are still valid.

quietone’s picture

FYI, the dictionary contains 'skłodowska' which is a family name, see Marie Curie.

jungle’s picture

Version: 9.1.x-dev » 9.2.x-dev

Drupal 9.1.0-alpha1 will be released the week of October 19, 2020, which means new developments and disruptive changes should now be targeted for the 9.2.x-dev branch. For more information see the Drupal 9 minor version schedule and the Allowed changes during the Drupal 9 release cycle.

jungle’s picture

quietone’s picture

FileSize
372.08 KB

To make it manageable for me to find words to change I decided to figure how often a word is used and in what files. The result is in the attached spreadsheet. I am finding it easier to refer to that than constantly grepping for strings.

longwave’s picture

Just to note that #3210633: Update JavaScript dependencies for Drupal 9.2 updates the dictionaries that ship with cspell and that will remove ~60 words from the custom dictionary.

Version: 9.2.x-dev » 9.3.x-dev

Drupal 9.2.0-alpha1 will be released the week of May 3, 2021, which means new developments and disruptive changes should now be targeted for the 9.3.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Spokje’s picture

Found out in #3210633-18: Update JavaScript dependencies for Drupal 9.2 that no changes in the custum dictionary core/misc/cspell/dictionary.txt will happen,

quietone’s picture

I really think we need to take a moment and make a list of the words in dictionary.txt that we will NOT be changing. Ones that we consider words (for any reason) despite the dictionary. We should also decide what to do about proper names that are in the dictionary. Do we add cspell:ignore lines in the code or leave them in the dictionary?

One reason to do that now is to prevent work removing a word and have it put back in the dictionary during review. The other is to provide some overall guidance on what to remove and what not to remove from the dictionary. There is too much guessing going on for me.

To keep track of the words that must stay in the dictionary we could add a README.txt to core/misc/cspell to list these words and the reasons to keep them in the dictionary.

quietone’s picture

For example, from my work tonight on #3210129: Fix spelling for words used once, beginning with 'a' -> 'd', inclusive
These words are in dictionary.txt but are words, bakeware, chocolatiers, corge, cucurbitaceae
Maybe these should stay in dictionary.txt? backlinks, backport, classmaps, drupalisms

alexpott’s picture

@quietone we can have more that one custom dictionary - so we could create a dictionary with all the errata and then attempt to remove that.

Another thing to consider - we should look to file upstream issues to the dictionaries we depend on for real words that fit into those dictionaries.

quietone’s picture

@alexpott, yes, I learned that we can add dictionaries after I posted my comment but that doesn't fit what I think is needed.

I've come to realize that what I'd like to have is a place to document decisions about what stays in the dictionary and what does not. Covering points such as how we handle

  • words with a suffix such as of 'able'.
  • word with a prefix such as of 'pre', 'pro', 'sub', and 'un'.
  • technical terms
  • abbreviations, such as NTFS.
  • program names, such as behat, powerpoint..
  • personal names, particularly authors, not examples in tests.
  • non English words for translation tests.
  • plurals of tags and attributes.
  • Words that are Drupal specific and stay in the dictionary.

So, probably a documentation page in the coding standards would be a better place. That is, if people think it will be useful.

Edit: fix formatting

quietone’s picture

This spreadsheet can be used to identify what words should stay in the dictionary. It also has updated sheets showing all the files and words and counts etc.

Version: 9.3.x-dev » 9.4.x-dev

Drupal 9.3.0-rc1 was released on November 26, 2021, which means new developments and disruptive changes should now be targeted for the 9.4.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

xjm’s picture

Late to the party on the spreadsheet, but perhaps we could also add a column for words that should be ignored on a per-test basis rather than being in the dictionary (rather than removing them and replacing them with something boring). I added a column for this that could be filled in, although it looks like the word list doesn't entirely match the dictionary anymore.

A few specific things I'd request be moved from the dictionary to their own tests instead of being removed, all related to honoring specific top core contributors:

  1. Llama-related spelling puns. Please don't remove these from core; it would break my heart.
  2. A sentence referencing Cádiz; it is a real place and a reference to a road trip several core devs, including myself, took before the sprint at DDD Sevilla that added the test. ❤️
  3. "Muuh" is a word from Drupal core legend dawehner's own unique idiolect (the speech habits of a particular person, not an insult). :) Definitely a keeper.

I realize this is a fine line since some references could be unclear, controversial, confusing for English-as-second-language speakers, etc., but I think we can find it in our sometimes-overly-serious maintainer hearts to let core devs have their small joys with some test data.

Version: 9.4.x-dev » 9.5.x-dev

Drupal 9.4.0-alpha1 was released on May 6, 2022, which means new developments and disruptive changes should now be targeted for the 9.5.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

jsoref made their first commit to this issue’s fork.

Version: 9.5.x-dev » 10.1.x-dev

Drupal 9.5.0-beta2 and Drupal 10.0.0-beta2 were released on September 29, 2022, which means new developments and disruptive changes should now be targeted for the 10.1.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

quietone’s picture

Title: [META] Go through the .cspell.json to remove spelling errors from the word list and fix them » [Meta] Go through the .cspell.json to remove spelling errors from the word list and fix them
Parent issue: » #3319843: [Meta] Fix coding standards in core
quietone’s picture

Title: [Meta] Go through the .cspell.json to remove spelling errors from the word list and fix them » [Meta] Remove spelling errors from dictionary.txt and fix them
Component: base system » other
Issue summary: View changes

I've updated the spreadsheet.

I wonder if we should make a wiki page that lists the words that are not to be changed?

quietone’s picture

Issue summary: View changes

Removing the Kanban board because it not being kept up to date.

jungle’s picture

Re #47 and #53

See the example below copied from https://cspell.org/docs/dictionaries-custom/#example-1

Example 1:
custom-words.txt

# This is a comment
!forbiddenword
these
are
my
favorite
words

Comments are allowed in the custom dictionary -- can we add comments for those words or who can remember all those stories behind and treat them as non-typos?

quietone’s picture

I did think about that. For me, it just seems cleaner to have two dictionaries, one of which will eventually be empty and can be removed.

Version: 10.1.x-dev » 11.x-dev

Drupal core is moving towards using a “main” branch. As an interim step, a new 11.x branch has been opened, as Drupal.org infrastructure cannot currently fully support a branch named main. New developments and disruptive changes should now be targeted for the 11.x branch, which currently accepts only minor-version allowed changes. For more information, see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

quietone’s picture

quietone’s picture

Issue summary: View changes
quietone’s picture

Issue summary: View changes
Issue tags: +Needs followup
quietone’s picture

Issue summary: View changes
quietone’s picture

Issue summary: View changes
quietone’s picture

Issue summary: View changes

Update IS and credit

quietone’s picture

Issue summary: View changes

Replaced the spreadsheet from #45 (now deleted) with a new one. Details in the Issue Summary.

quietone’s picture

Issue summary: View changes
quietone’s picture

Issue summary: View changes
smustgrave’s picture

From #3391788: Fix spelling of function names in tests

Comment#20 from @xjm

This issue seems to be a mix of two scopes: Actual API methods which are cased incorrectly in the test code, and test methods being renamed. The scope is small enough that that is not necessarily a problem, but it does require the reviewer to context-switch between looking up actual APIs and just reviewing within the content of the test method. I'd recommend separating those two kinds of fixes when we get to non-test functions.

"Needs followup" isn't exactly the right tag for #19; what I mean by it here is "Needs update to parent meta IS and instructions so that subsequent and followup issues are scoped correctly."

quietone’s picture

Issue summary: View changes

Just updating the list of issues to do in the Issue Summary

quietone’s picture

Issue summary: View changes
quietone’s picture

Issue summary: View changes
quietone’s picture

Issue summary: View changes
joachim’s picture

quietone’s picture

Determining if a word is spelled incorrectly or not will always be a challenge. Languages change over time as words are added and meanings change. Drupal core uses American English so, which dictionary do we use? There are many on-line dictionaries and they do not always agree.

In the end, we are using cspell, and must defer to what they are using, which I think is hunspell. Words can be added upstream but I haven't explored that much after reading this issue.

In the case of 'reclosed', that was used only twice. I think it was better to convert that and have a smaller dictionary list. However, for other words like this with high usage we probably do want to file an issue upstream and/or add it to the drupal dictionary.

quietone’s picture

I made the followup asked for in #31 and earlier added some suggestions about scope. Therefore, removing the tag.

quietone’s picture

Issue summary: View changes