Skip to content

Remove remaining Deprecated_Header macros - #45376

Draft
OnkarRuikar wants to merge 1 commit into
mdn:mainfrom
OnkarRuikar:remove_deprecated_header_macros_2
Draft

Remove remaining Deprecated_Header macros#45376
OnkarRuikar wants to merge 1 commit into
mdn:mainfrom
OnkarRuikar:remove_deprecated_header_macros_2

Conversation

@OnkarRuikar

Copy link
Copy Markdown
Contributor

Related threads

Description

This is follow up of #45345 . The files that have been pulled here are the once should be updated only after the following requirement is implemented in the backend mdn/rari:

If there are pages on MDN where a deprecated banner is required but is not covered by web features, the front-matter status: deprecated will be used to display this labelling.

If we remove the Deprecated_header macro now, then the deprecated banner won't be shown till the rari implements the requirement.

Motivation

Let us wait till rari implements inferring the deprecated banner from front-matter.

Additional details

@OnkarRuikar
OnkarRuikar requested review from a team as code owners August 28, 2026 14:36
@OnkarRuikar
OnkarRuikar requested review from hamishwillee and rebloor and removed request for a team August 28, 2026 14:36
@github-actions github-actions Bot added Content:WebExt WebExtensions docs Content:WebAPI Web API docs Content:Meta Content in the meta docs size/s [PR only] 6-50 LoC changed labels Aug 28, 2026
sidebar: addonsidebar
---

{{Deprecated_header}}

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.

@OnkarRuikar why are we removing this and not replacing it with anything? It's still marked as deprecated in the Chrome docs (https://developer.chrome.com/docs/extensions/reference/api/runtime#event-onBrowserUpdateAvailable). If we remove the macro, we need to replace it with something.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

We are not changing the status of the feature. Only removing the Deprecated_header macro because of https://github.com/orgs/mdn/discussions/911 .

Now the header banner will be inferred from the front-matter property status: deprecated(in this file the line 6).

@rebloor rebloor self-assigned this Aug 28, 2026
@OnkarRuikar

Copy link
Copy Markdown
Contributor Author

Marking the PR as draft till the rari implements the following requirement:

If there are pages on MDN where a deprecated banner is required but is not covered by web features, the frontmatter status: deprecated will be used to display this labelling.

@OnkarRuikar
OnkarRuikar marked this pull request as draft August 29, 2026 05:17
@sideshowbarker
sideshowbarker removed the request for review from a team August 30, 2026 01:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:Meta Content in the meta docs Content:WebAPI Web API docs Content:WebExt WebExtensions docs size/s [PR only] 6-50 LoC changed

3 participants