Skip to content

Fix typos in Learn docs: unbalanced and misplaced parentheses - #46012

Merged
chrisdavidmills merged 4 commits into
mdn:mainfrom
kumability:fix-typos-learn
Oct 7, 2026
Merged

chrisdavidmills merged 4 commits into
mdn:mainfrom
kumability:fix-typos-learn

Conversation

@kumability

Copy link
Copy Markdown
Contributor

Description

Fixes 19 small typos across 15 Learn pages, mostly in the Express and Django tutorials. Each change is a one- or two-character fix; no wording is rewritten.

  1. Unbalanced or misplaced parentheses (18): a missing ( or ), an extra one, or a ) that ended up inside inline code (e.g. `/catalog/book/create)` → `/catalog/book/create`))
  2. A misplaced comma (1): or , role="search" → , or role="search" (serial comma, per the writing style guide)
All changes
Page Reason
Core/Accessibility/HTML quote opened with ' and closed with a stray backtick
Extensions/Server-side/Apache_Configuration_htaccess '(e.g.: for PHP, ...' never closed
Extensions/Server-side/Django/Authentication '(we already have a status ...' never closed
Extensions/Server-side/Django/Authentication opening paren inside inline code
Extensions/Server-side/Django/Deployment stray closing paren after link
Extensions/Server-side/Django/Forms stray closing paren
Extensions/Server-side/Django/Generic_views closing paren inside inline code
Extensions/Server-side/Django/Home_page two parentheticals lost their opening parens (both ')' exist in the 2021 original)
Extensions/Server-side/Django/Testing closing paren inside inline code
Extensions/Server-side/Express_Nodejs/Displaying_data/Template_primer '(note the use of ...' never closed
Extensions/Server-side/Express_Nodejs/forms/Create_genre_form stray closing paren
Extensions/Server-side/Express_Nodejs/mongoose stray closing paren
Extensions/Server-side/Express_Nodejs/routes closing paren inside inline code
Extensions/Server-side/Express_Nodejs/routes closing paren inside inline code
Extensions/Server-side/Express_Nodejs/routes closing paren inside inline code
Extensions/Server-side/Express_Nodejs/routes closing paren inside inline code
Extensions/Testing/Your_own_automation_environment stray closing paren after link
Howto/Tools_and_setup/What_are_browser_developer_tools stray closing paren after link
Core/Accessibility/WAI-ARIA_basics misplaced comma; MDN uses the serial comma (writing_style_guide:350)

Motivation

These typos make the tutorials harder to follow, especially where a paren lands inside a URL or code sample.

Additional details

For Django's Home page tutorial, the two stray ) were already in the 2021 original, so I added the missing ( instead of removing them: "We can hard code the link (as in …), but if we change the pattern for our home page (for example, to /catalog/index) the templates will no longer link correctly."

#45596 (Express) and #45497 (Django) touch some of the same files, but not these lines. I checked that this PR merges cleanly with both.

Related issues and pull requests

Follow-up of #45998 (same kind of fixes for CSS).

@kumability
kumability requested a review from a team as a code owner October 7, 2026 08:03
@kumability
kumability requested review from dipikabh and removed request for a team October 7, 2026 08:03
@github-actions github-actions Bot added Content:Learn Learning area docs (outside of one of the Learn:* subtags) size/s [PR only] 6-50 LoC changed labels Oct 7, 2026
@github-actions

github-actions Bot commented Oct 7, 2026

Copy link
Copy Markdown
Contributor
Preview URLs (15 pages)
External URLs (3)

URL: /en-US/docs/Learn_web_development/Extensions/Testing/Your_own_automation_environment
Title: Setting up your own test automation environment


URL: /en-US/docs/Learn_web_development/Howto/Tools_and_setup/What_are_browser_developer_tools
Title: What are browser developer tools?

@chrisdavidmills
chrisdavidmills requested review from chrisdavidmills and removed request for dipikabh October 7, 2026 08:26

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

Thanks, @kumability. I've checked them all, and they look good. I've made a couple of additional improvement suggestions, which I'll just approve and then get this one merged.

@chrisdavidmills
chrisdavidmills merged commit 306f0d1 into mdn:main Oct 7, 2026
7 checks passed
@kumability

Copy link
Copy Markdown
Contributor Author

Thanks for the review and for the extra improvements, @chrisdavidmills! Rewriting the PHP note as a plain sentence ending with a colon reads much better than just closing the paren. I'll keep that in mind for the next ones.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:Learn Learning area docs (outside of one of the Learn:* subtags) size/s [PR only] 6-50 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants