Use American English: "whilst" → "while", "fulfil" → "fulfill" - #44920
Merged
chrisdavidmills merged 2 commits intoJul 27, 2026
Conversation
The MDN writing style guide requires American-English spelling and says "Do not use variant spelling". These are the remaining British variants in the en-US content: - "whilst" (10 occurrences) → "while", matching the 1500+ files already using "while" - "fulfil" (1 occurrence, in the writing guidelines themselves) → "fulfill", matching the 45 files already using "fulfill" cSpell does not flag these because both are valid dictionary words, so they survived while automated linting stayed green. Deliberate British spellings were left untouched: the style guide examples, the mi6.defence.gov.uk sample address, the regex guide text demonstrating British spellings, and the favourite-colour example repo name.
husamemadH
requested review from
Josh-Cena and
wbamberg
and removed request for
a team
July 26, 2026 13:52
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Contributor
Preview URLs (11 pages)
Flaws (36)Note! 10 documents with no flaws that don't need to be listed. 🎉 Found an unexpected or unresolvable flaw? Please report it here. URL:
External URLs (1)URL:
(comment last updated: 2026-07-27 12:26:59) |
chrisdavidmills
approved these changes
Jul 27, 2026
chrisdavidmills
left a comment
Contributor
There was a problem hiding this comment.
Looks good, thanks, @husamemadH!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Replaces the remaining British spelling variants in
files/en-uswith their American-English equivalents:whilst→while(10 occurrences) andfulfil→fulfill(1 occurrence).Motivation
The writing style guide requires American-English spelling and states "Do not use variant spelling." These occurrences are inconsistent with the rest of the content:
whilstwhile)fulfilfulfill)cSpelldoesn't flag either word because both are valid dictionary entries — they're British variants rather than misspellings — so these slipped through whilenpm run lint:typosstayed green.The single
fulfilis inMDN/Writing_guidelines/What_we_write, so this also makes the writing guidelines consistent with the spelling rule they document.Additional details
Only prose was changed; no code samples, identifiers, or links were touched. Every replacement reads naturally in context ("occurred in the driver while processing", "While this is a useful feature", etc.).
Deliberate British spellings were intentionally left alone:
jbond007@mi6.defence.gov.ukin the<input type="email">examples"He asked his neighbour a favour."specifically to demonstrate matching British spellingsfavourite-colourexample, which is an actual repository nameSince
whileis shorter thanwhilst, no lines reflow under Prettier'sproseWrap: "preserve".Related issues and pull requests
None.