Skip to content

[docs] Document the JS Deprecation utilities and process#1562

Open
andrewnicols wants to merge 1 commit intomoodle:mainfrom
andrewnicols:MDL-87867
Open

[docs] Document the JS Deprecation utilities and process#1562
andrewnicols wants to merge 1 commit intomoodle:mainfrom
andrewnicols:MDL-87867

Conversation

@andrewnicols
Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings April 13, 2026 04:11
@netlify
Copy link
Copy Markdown

netlify bot commented Apr 13, 2026

Deploy Preview for moodledevdocs ready!

Name Link
🔨 Latest commit 390d002
🔍 Latest deploy log https://app.netlify.com/projects/moodledevdocs/deploys/69dc78a0ae181d0008b476ad
😎 Deploy Preview https://deploy-preview-1562--moodledevdocs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds developer documentation describing Moodle’s JavaScript deprecation policy and the new core/deprecated AMD utility introduced in Moodle 5.2.

Changes:

  • Introduces a policy page for JavaScript deprecations under general development policies.
  • Adds a JavaScript guide page explaining how to use the core/deprecated utility (including “silent” and “final” deprecations).
  • Links the policy page to the new guide.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 7 comments.

File Description
general/development/policies/deprecation/javascript.md Adds JavaScript-specific deprecation policy notes and links to the usage guide.
docs/guides/javascript/deprecation.md Adds a usage guide for the core/deprecated module, with examples and configuration tips.

@jrchamp
Copy link
Copy Markdown
Collaborator

jrchamp commented Apr 13, 2026

I'm not sure if the devdocs repo has restrictions on this, but I really want to edit this PR's description to include Fixes #1519.

@andrewnicols andrewnicols linked an issue Apr 14, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document JS deprecation policy

3 participants