Skip to content

Use American English: "whilst" → "while", "fulfil" → "fulfill" - #44920

Merged
chrisdavidmills merged 2 commits into
mdn:mainfrom
husamemadH:american-english-whilst-fulfil
Jul 27, 2026
Merged

Use American English: "whilst" → "while", "fulfil" → "fulfill"#44920
chrisdavidmills merged 2 commits into
mdn:mainfrom
husamemadH:american-english-whilst-fulfil

Conversation

@husamemadH

Copy link
Copy Markdown
Contributor

Description

Replaces the remaining British spelling variants in files/en-us with their American-English equivalents: whilstwhile (10 occurrences) and fulfilfulfill (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:

Word Files using it Files using the American form
whilst 10 1541 (while)
fulfil 1 45 (fulfill)

cSpell doesn't flag either word because both are valid dictionary entries — they're British variants rather than misspellings — so these slipped through while npm run lint:typos stayed green.

The single fulfil is in MDN/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:

  • the style guide's own "Incorrect: localise, behaviour, colour" examples
  • jbond007@mi6.defence.gov.uk in the <input type="email"> examples
  • the regular expressions guide, which uses "He asked his neighbour a favour." specifically to demonstrate matching British spellings
  • references to the favourite-colour example, which is an actual repository name

Since while is shorter than whilst, no lines reflow under Prettier's proseWrap: "preserve".

Related issues and pull requests

None.

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
husamemadH requested review from a team as code owners July 26, 2026 13:52
@husamemadH
husamemadH requested review from Josh-Cena and wbamberg and removed request for a team July 26, 2026 13:52
@github-actions github-actions Bot added Content:WebAPI Web API docs Content:JS JavaScript docs Content:Learn Learning area docs Content:WebDriver WebDriver docs Content:Meta Content in the meta docs size/s [PR only] 6-50 LoC changed labels Jul 26, 2026
Comment thread files/en-us/web/webdriver/reference/errors/index.md Outdated
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@github-actions

github-actions Bot commented Jul 27, 2026

Copy link
Copy Markdown
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: /en-US/docs/Web/WebDriver/Reference/Errors
Title: WebDriver errors
Flaw count: 36

  • broken_links:
    • Link /en-US/docs/Web/WebDriver/Reference/Errors/UnexpectedAlertOpen doesn't resolve
    • Link /en-US/docs/Web/WebDriver/Reference/Errors/UnexpectedAlertOpen doesn't resolve
    • Link /en-US/docs/Web/WebDriver/Reference/Clients doesn't resolve
    • Link /en-US/docs/Web/WebDriver/Reference/Errors/ElementClickIntercepted doesn't resolve
    • Link /en-US/docs/Web/WebDriver/Reference/ElementClick doesn't resolve
    • and 31 more flaws omitted
External URLs (1)

URL: /en-US/docs/Learn_web_development/Core/Accessibility/WAI-ARIA_basics
Title: WAI-ARIA basics

(comment last updated: 2026-07-27 12:26:59)

@chrisdavidmills chrisdavidmills left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks, @husamemadH!

@chrisdavidmills
chrisdavidmills merged commit de5b264 into mdn:main Jul 27, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:JS JavaScript docs Content:Learn Learning area docs Content:Meta Content in the meta docs Content:WebAPI Web API docs Content:WebDriver WebDriver docs size/s [PR only] 6-50 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants