Skip to content

Fix unbalanced and misplaced parentheses in Firefox release notes and WebExtensions docs - #46034

Merged
chrisdavidmills merged 2 commits into
mdn:mainfrom
kumability:fix-typos-mozilla-parens
Oct 8, 2026
Merged

chrisdavidmills merged 2 commits into
mdn:mainfrom
kumability:fix-typos-mozilla-parens

Conversation

@kumability

@kumability kumability commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Description

Fixes 14 unbalanced or misplaced parentheses: 9 in Firefox release notes and 5 in WebExtensions docs.

  • In the release notes, most are bug links that lost their opening paren (… code [Firefox bug 816431](…)). → … code ([Firefox bug 816431](…)).), matching the other items on the same pages, or a ) that ended up outside inline code (`rgb(`) → `rgb()`)
  • In WebExtensions, they're a missing ) or an extra one
Page Reason
Add-ons/WebExtensions/API/pkcs11/getModuleSlots missing closing paren
Add-ons/WebExtensions/API/pkcs11/getModuleSlots missing closing paren
Add-ons/WebExtensions/API/scripting extra closing paren
Add-ons/WebExtensions/API/tabGroups/onMoved '(firing ... and ...' never closes
Add-ons/WebExtensions/Content_scripts extra closing paren
Firefox/Releases/1.5/Using_Firefox_1.5_caching one open, two close
Firefox/Releases/15 closing paren outside inline code
Firefox/Releases/20 missing opening paren before bug link
Firefox/Releases/46 stray ' )' before bug link; match sibling items
Firefox/Releases/52 closing paren outside inline code
Firefox/Releases/55 '(e.g., as the event object of ...' never closes
Firefox/Releases/55 missing opening paren before bug link
Firefox/Releases/70 missing opening paren before bug link
Firefox/Releases/9 leftover ) from a stripped XUL link (2770a01); remove it

Motivation

These make sentences harder to read.

The release note fixes are low priority, since those pages are for old Firefox versions and probably aren't read much anymore. I've put them in a separate commit, so if you'd rather not touch old release notes, I'm happy to drop that commit and keep only the WebExtensions fixes.

Additional details

Where the intent wasn't obvious, I checked the git history. Two examples:

  • Firefox 9: the stray ) after `appendNotification` is left over from a XUL link that was removed in 2770a01, so I removed it instead of adding ().
  • Firefox 52 and 15: the HTML originals had <code>rgb(</code>) and <code>skewY(</code>), so the ) was split off during the Markdown conversion.

#45263, #45160, and #44892 also touch content_scripts/index.md or scripting/index.md, but not these lines. I checked locally that this PR merges cleanly with each of them.

Related issues and pull requests

Same kind of fixes as #45998, #46012, and #46013.

@kumability
kumability requested review from a team as code owners October 8, 2026 03:10
@kumability
kumability requested review from dipikabh and rebloor and removed request for a team October 8, 2026 03:10
@github-actions github-actions Bot added Content:WebExt WebExtensions docs Content:Firefox Content in the Mozilla/Firefox subtree size/s [PR only] 6-50 LoC changed labels Oct 8, 2026
@github-actions

github-actions Bot commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

@kumability
kumability force-pushed the fix-typos-mozilla-parens branch from 0e18358 to 53b4ac0 Compare October 8, 2026 03:14

@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.

LGTM

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

Labels

Content:Firefox Content in the Mozilla/Firefox subtree Content:WebExt WebExtensions docs size/s [PR only] 6-50 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants